]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
bash to shell conversion 2086/head
authorBimba Shrestha <bimbashrestha@fb.com>
Wed, 22 Apr 2020 03:31:11 +0000 (20:31 -0700)
committerBimba Shrestha <bimbashrestha@fb.com>
Wed, 22 Apr 2020 03:31:11 +0000 (20:31 -0700)
tests/playTests.sh

index 0276f58e1feff22b7b02d053277f2a1c445922d8..3c91b958f182461e8bb5d26274a41dad2901c934 100755 (executable)
@@ -1280,8 +1280,7 @@ println "\n===> patch-from long mode trigger larger file test"
 
 datagen -g5000000 > tmp_dict
 datagen -g5000000 > tmp_patch
-zstd -15 --patch-from=tmp_dict tmp_patch &> tmp_out
-grep "long mode automaticaly triggered" tmp_out
+zstd -15 --patch-from=tmp_dict tmp_patch 2>&1 | grep "long mode automaticaly triggered"
 rm -rf tmp*
 
 println "\n===>   large files tests "