about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2013-04-09 00:13:52 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2013-04-09 00:13:52 +0200
commit410da3ac1cdb002116c08f143ce82534897ede27 (patch)
tree7bd675231e2989c913ca0b53853e6750d7134607
parenttests: Make sure that git does not access $HOME (diff)
downloadcgit-pink-410da3ac1cdb002116c08f143ce82534897ede27.tar.gz
cgit-pink-410da3ac1cdb002116c08f143ce82534897ede27.zip
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>
-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 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' '