]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Update playTests.sh 3027/head
authorbrailovich <91924341+brailovich@users.noreply.github.com>
Thu, 27 Jan 2022 16:22:05 +0000 (08:22 -0800)
committerGitHub <noreply@github.com>
Thu, 27 Jan 2022 16:22:05 +0000 (08:22 -0800)
combination of -r with empty folder simplified to comply with sh compatibility tests

tests/playTests.sh

index ba287403406697516b13272e6824515ddcab6a42..e0d802f6ee3587490612dc17c9bad6c17c7a8da5 100755 (executable)
@@ -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