Update playTests.sh

combination of -r with empty folder simplified to comply with sh compatibility tests
This commit is contained in:
brailovich
2022-01-27 08:22:05 -08:00
committed by GitHub
parent 501a353b91
commit 9f37d1fede
+1 -8
View File
@@ -392,14 +392,7 @@ zstd -c -r < tmp > tmp.zst
# combination of -r with empty folder
mkdir -p tmpEmptyDir
zstd -r tmpEmptyDir 2>tmplog2
if [ grep "aborting" tmplog2 ]; then
println "Should not abort on empty directory"
rm -rf tmplog2
rm -rf tmpEmptyDir
die
fi
rm -rf tmplog2
zstd -r tmpEmptyDir
rm -rf tmpEmptyDir