From: brailovich <91924341+brailovich@users.noreply.github.com> Date: Thu, 27 Jan 2022 16:22:05 +0000 (-0800) Subject: Update playTests.sh X-Git-Tag: v1.5.4^2~254^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3027%2Fhead;p=thirdparty%2Fzstd.git Update playTests.sh combination of -r with empty folder simplified to comply with sh compatibility tests --- diff --git a/tests/playTests.sh b/tests/playTests.sh index ba2874034..e0d802f6e 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -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