aboutsummaryrefslogtreecommitdiff
path: root/tests/t0107-snapshot.sh
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 /tests/t0107-snapshot.sh
parentdd1f0e5f1b4de00c98fe7444915864b7271e09fe (diff)
downloadcgit-410da3ac1cdb002116c08f143ce82534897ede27.tar.gz
cgit-410da3ac1cdb002116c08f143ce82534897ede27.tar.bz2
cgit-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>
Diffstat (limited to 'tests/t0107-snapshot.sh')
-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' '