aboutsummaryrefslogtreecommitdiffstats
path: root/tests/t0107-snapshot.sh
diff options
context:
space:
mode:
authorLukas Fleischer2013-04-09 00:13:52 +0200
committerJason A. Donenfeld2013-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' '
25 25
26test_expect_success 'untar' ' 26test_expect_success 'untar' '
27 rm -rf master && 27 rm -rf master &&
28 tar -xf master.tar.gz 28 tar -xzf master.tar.gz
29' 29'
30 30
31test_expect_success 'count files' ' 31test_expect_success 'count files' '