]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Update playTests.sh
authorbrailovich <91924341+brailovich@users.noreply.github.com>
Thu, 27 Jan 2022 02:56:52 +0000 (18:56 -0800)
committerGitHub <noreply@github.com>
Thu, 27 Jan 2022 02:56:52 +0000 (18:56 -0800)
tests/playTests.sh

index 5a45247b3b4d0b860c646ddd8bb94e2aa103e417..ba287403406697516b13272e6824515ddcab6a42 100755 (executable)
@@ -393,7 +393,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
+if [ grep "aborting" tmplog2 ]; then
   println "Should not abort on empty directory"
   rm -rf tmplog2
   rm -rf tmpEmptyDir