From: Lukas Fleischer Date: Mon, 8 Apr 2013 22:13:52 +0000 (+0200) Subject: t0107: Use `tar -z` for gzip'ed archives X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/410da3ac1cdb002116c08f143ce82534897ede27?ds=sidebyside t0107: Use `tar -z` for gzip'ed archives Some tar(1) versions do not support auto detection of the compression type. Explicitly specify "-z" to decompress a ".tar.gz" archive. Signed-off-by: Lukas Fleischer --- diff --git a/tests/t0107-snapshot.sh b/tests/t0107-snapshot.sh index 4fbe45e..7e6f5bf 100755 --- a/tests/t0107-snapshot.sh +++ b/tests/t0107-snapshot.sh @@ -25,7 +25,7 @@ test_expect_success 'verify gzip format' ' test_expect_success 'untar' ' rm -rf master && - tar -xf master.tar.gz + tar -xzf master.tar.gz ' test_expect_success 'count files' '