From: Lars Hjemli Date: Sun, 11 Jan 2009 11:22:46 +0000 (+0100) Subject: Merge branch 'snapshot-fixes' X-Git-Tag: v0.8.2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa60ae12cb3db965b3fe7239424cab92175b8343;p=cgit Merge branch 'snapshot-fixes' --- aa60ae12cb3db965b3fe7239424cab92175b8343 diff --cc tests/t0107-snapshot.sh index c42091a,5f1b862..8ab4912 --- a/tests/t0107-snapshot.sh +++ b/tests/t0107-snapshot.sh @@@ -10,10 -10,10 +10,10 @@@ run_test 'get foo/snapshot/master.tar.g run_test 'check html headers' ' head -n 1 trash/tmp | - grep -e "Content-Type: application/x-tar" && + grep -e "Content-Type: application/x-gzip" && head -n 2 trash/tmp | - grep -e "Content-Disposition: inline; filename=.test.tar.gz." + grep -e "Content-Disposition: inline; filename=.master.tar.gz." ' run_test 'strip off the header lines' '