about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorLars Hjemli2009-01-11 12:22:31 +0100
committerLars Hjemli2009-01-11 12:22:31 +0100
commit7f7c1ddd37f7286afc02fa06bf4f62cfa4e9ee12 (patch)
treefb96c654c08d8f0a0927ad8bdced60954b4adb53 /tests
parentMerge branch 'lh/virtual-root' (diff)
parentui-snapshot.c: change mime-type for tar.gz and tar.bz2 (diff)
downloadcgit-7f7c1ddd37f7286afc02fa06bf4f62cfa4e9ee12.tar.gz
cgit-7f7c1ddd37f7286afc02fa06bf4f62cfa4e9ee12.zip
Merge branch 'lh/mimetypes'
Diffstat (limited to 'tests')
-rwxr-xr-xtests/t0107-snapshot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t0107-snapshot.sh b/tests/t0107-snapshot.sh index d97c465..c42091a 100755 --- a/tests/t0107-snapshot.sh +++ b/tests/t0107-snapshot.sh
@@ -10,7 +10,7 @@ run_test 'get foo/snapshot/test.tar.gz' '
10 10
11run_test 'check html headers' ' 11run_test 'check html headers' '
12 head -n 1 trash/tmp | 12 head -n 1 trash/tmp |
13 grep -e "Content-Type: application/x-tar" && 13 grep -e "Content-Type: application/x-gzip" &&
14 14
15 head -n 2 trash/tmp | 15 head -n 2 trash/tmp |
16 grep -e "Content-Disposition: inline; filename=.test.tar.gz." 16 grep -e "Content-Disposition: inline; filename=.test.tar.gz."