[PATCH 3/3] t0107: Use `tar -z` for gzip'ed archives
Lukas Fleischer
cgit at cryptocrack.de
Mon Apr 8 20:18:20 CEST 2013
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 at cryptocrack.de>
---
tests/t0107-snapshot.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/t0107-snapshot.sh b/tests/t0107-snapshot.sh
index 14ea62d..2a472ac 100755
--- a/tests/t0107-snapshot.sh
+++ b/tests/t0107-snapshot.sh
@@ -26,7 +26,7 @@ run_test 'verify gzip format' '
run_test 'untar' '
rm -rf trash/master &&
- tar -xf trash/master.tar.gz -C trash
+ tar -xzf trash/master.tar.gz -C trash
'
run_test 'count files' '
--
1.8.2.675.gda3bb24.dirty
More information about the CGit
mailing list