cgit

commit 410da3ac1cdb002116c08f143ce82534897ede27

Author: Lukas Fleischer <cgit@cryptocrack.de>

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 <cgit@cryptocrack.de>

 tests/t0107-snapshot.sh | 2 +-


diff --git a/tests/t0107-snapshot.sh b/tests/t0107-snapshot.sh
index 4fbe45edd34ded4333ab281461240a29a612acaf..7e6f5bf2085e549ea49ecb23c017a6c942d42299 100755
--- a/tests/t0107-snapshot.sh
+++ b/tests/t0107-snapshot.sh
@@ -25,7 +25,7 @@ '
 
 test_expect_success 'untar' '
 	rm -rf master &&
-	tar -xf master.tar.gz
+	tar -xzf master.tar.gz
 '
 
 test_expect_success 'count files' '