Diffstat (limited to 'tests/t0107-snapshot.sh')
| -rwxr-xr-x | tests/t0107-snapshot.sh | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/tests/t0107-snapshot.sh b/tests/t0107-snapshot.sh index 0811ec4..c164d3e 100755 --- a/tests/t0107-snapshot.sh +++ b/tests/t0107-snapshot.sh @@ -25,7 +25,7 @@ test_expect_success 'verify gzip format' ' test_expect_success 'untar' ' rm -rf master && - gzip -dc master.tar.gz | tar -xf - + tar -xzf master.tar.gz ' test_expect_success 'count files' ' @@ -61,12 +61,13 @@ test_expect_success LZIP 'strip off the header lines' ' ' test_expect_success LZIP 'verify lzip format' ' - lzip --test master.tar.lz + lzip --test master.tar.lz && + cp master.tar.lz /tmp/. ' test_expect_success LZIP 'untar' ' rm -rf master && - lzip -dc master.tar.lz | tar -xf - + tar --lzip -xf master.tar.lz ' test_expect_success LZIP 'count files' ' @@ -102,12 +103,13 @@ test_expect_success XZ 'strip off the header lines' ' ' test_expect_success XZ 'verify xz format' ' - xz --test master.tar.xz + xz --test master.tar.xz && + cp master.tar.xz /tmp/. ' test_expect_success XZ 'untar' ' rm -rf master && - xz -dc master.tar.xz | tar -xf - + tar --xz -xf master.tar.xz ' test_expect_success XZ 'count files' ' @@ -143,12 +145,13 @@ test_expect_success ZSTD 'strip off the header lines' ' ' test_expect_success ZSTD 'verify zstd format' ' - zstd --test master.tar.zst + zstd --test master.tar.zst && + cp master.tar.zst /tmp/. ' test_expect_success ZSTD 'untar' ' rm -rf master && - zstd -dc master.tar.zst | tar -xf - + tar --zstd -xf master.tar.zst ' test_expect_success ZSTD 'count files' ' |