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 <[email protected]>
---
 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


_______________________________________________
cgit mailing list
[email protected]
http://hjemli.net/mailman/listinfo/cgit

Reply via email to