]> gitweb.ps.run Git - ps-cgit/commit
tests/t0107-snapshot.sh: make testscript match updated snapshot behavior
authorLars Hjemli <hjemli@gmail.com>
Sun, 28 Dec 2008 09:52:35 +0000 (10:52 +0100)
committerLars Hjemli <hjemli@gmail.com>
Sun, 28 Dec 2008 09:52:35 +0000 (10:52 +0100)
commit7bbc27458532c16b9fdbe2b54fad4db04fbd1186
tree42590d7de7dc5a2042a039ee19c37abf1b583ebf
parentc4b45de33458f66f5a768530d738f6c28e56cf49
tests/t0107-snapshot.sh: make testscript match updated snapshot behavior

Since cgit now returns a 404 error when the snapshot filename cannot be
resolved to a commit object, the testscript needs to request a valid
snapshot name.

Also, the script assumed that the toplevel directory in the snapshot
would get the name of the repository but it's now named similar to
the requested snapshot.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
tests/t0107-snapshot.sh