Update playTests.sh

combination of -r with empty folder simplified to comply with sh compatibility tests
dev
brailovich 2022-01-27 08:22:05 -08:00 committed by GitHub
parent 501a353b91
commit 9f37d1fede
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 8 deletions

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