From 666372c7bf345ef8a238ca1ffbe985ba4a9aedf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Marciniak?= Date: Fri, 24 Dec 2021 15:05:26 +0100 Subject: [PATCH] Fix tar test cases --- tests/playTests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/playTests.sh b/tests/playTests.sh index a772b61f..d5ee3155 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -1359,21 +1359,21 @@ zstd -d tmp.tzst rm -f tmp.tar tmp.tzst if [ $GZIPMODE -eq 1 ]; then - tar -c tmp | gzip > tmp.tgz + tar -f - -c tmp | gzip > tmp.tgz zstd -d tmp.tgz [ -e tmp.tar ] || die ".tgz failed to decompress to .tar!" rm -f tmp.tar tmp.tgz fi if [ $LZMAMODE -eq 1 ]; then - tar -c tmp | zstd --format=xz > tmp.txz + tar -f - -c tmp | zstd --format=xz > tmp.txz zstd -d tmp.txz [ -e tmp.tar ] || die ".txz failed to decompress to .tar!" rm -f tmp.tar tmp.txz fi if [ $LZ4MODE -eq 1 ]; then - tar -c tmp | zstd --format=lz4 > tmp.tlz4 + tar -f - -c tmp | zstd --format=lz4 > tmp.tlz4 zstd -d tmp.tlz4 [ -e tmp.tar ] || die ".tlz4 failed to decompress to .tar!" rm -f tmp.tar tmp.tlz4