diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/t0110-snapshot.sh6
1 file changed, 3 insertions, 3 deletions
diff --git a/tests/t0110-snapshot.sh b/tests/t0110-snapshot.sh
index d6c3265..9dc177f 100755
--- a/tests/t0110-snapshot.sh
+++ b/tests/t0110-snapshot.sh
@@ -75,11 +75,11 @@ test_expect_success 'untar and verify the content' '
test_line_count = 1 master/file-5
'
-test_tar_snapshot tar.gz application/x-gzip gzip GZIP
+test_tar_snapshot tar.gz application/gzip gzip GZIP
test_tar_snapshot tar.bz2 application/x-bzip2 bzip2 BZIP2
test_tar_snapshot tar.lz application/x-lzip lzip LZIP
test_tar_snapshot tar.xz application/x-xz xz XZ
-test_tar_snapshot tar.zst application/x-zstd zstd ZSTD
+test_tar_snapshot tar.zst application/zstd zstd ZSTD
if command -v unzip >/dev/null 2>&1
then
@@ -94,7 +94,7 @@ test_expect_success 'get foo/snapshot/master.zip' '
test_expect_success 'check zip response headers' '
head -n 1 tmp | grep "Status: 200 OK" &&
- head -n 2 tmp | grep "Content-Type: application/x-zip" &&
+ head -n 2 tmp | grep "Content-Type: application/zip" &&
head -n 3 tmp | grep "Content-Disposition: inline; filename=.master.zip."
'