]> gitweb.ps.run Git - ps-cgit/blobdiff - tests/t0107-snapshot.sh
ui-snapshot.c: change mime-type for tar.gz and tar.bz2
[ps-cgit] / tests / t0107-snapshot.sh
index d97c4655b166e167dfc3e8e652708337a83d8f13..c42091a2cf8544a6f42d5378f6096f5a2af77e9d 100755 (executable)
@@ -10,7 +10,7 @@ run_test 'get foo/snapshot/test.tar.gz' '
 
 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."