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>
This commit is contained in:
Lukas Fleischer 2013-04-09 00:13:52 +02:00 committed by Jason A. Donenfeld
parent dd1f0e5f1b
commit 410da3ac1c
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ test_expect_success 'verify gzip format' '
test_expect_success 'untar' ' test_expect_success 'untar' '
rm -rf master && rm -rf master &&
tar -xf master.tar.gz tar -xzf master.tar.gz
' '
test_expect_success 'count files' ' test_expect_success 'count files' '