]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fix lz4 test messed by console detection 2404/head
authorYann Collet <cyan@fb.com>
Mon, 30 Nov 2020 14:47:16 +0000 (06:47 -0800)
committerYann Collet <cyan@fb.com>
Mon, 30 Nov 2020 14:47:16 +0000 (06:47 -0800)
tests/playTests.sh

index b0a5ffc6986ffda3c7301e2690501dda192d30cc..3f53b6a7aa572c9295015ae27019fc9601d9353d 100755 (executable)
@@ -1103,7 +1103,7 @@ if [ $LZ4MODE -eq 1 ]; then
         datagen > tmp
         zstd --format=lz4 -f tmp
         lz4 -t -v tmp.lz4
-        lz4 -f tmp
+        lz4 -f -m tmp   # ensure result is sent into tmp.lz4, not stdout
         zstd -d -f -v tmp.lz4
         rm tmp*
     else