diff options
author | Lukas Fleischer | 2013-04-09 00:13:52 +0200 |
---|---|---|
committer | Jason A. Donenfeld | 2013-04-09 00:13:52 +0200 |
commit | 410da3ac1cdb002116c08f143ce82534897ede27 (patch) | |
tree | 7bd675231e2989c913ca0b53853e6750d7134607 | |
parent | tests: Make sure that git does not access $HOME (diff) | |
download | cgit-410da3ac1cdb002116c08f143ce82534897ede27.tar.gz 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>
-rwxr-xr-x | tests/t0107-snapshot.sh | 2 |
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 | ||
26 | test_expect_success 'untar' ' | 26 | test_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 | ||
31 | test_expect_success 'count files' ' | 31 | test_expect_success 'count files' ' |