From 98ccc115edffd286d44ac6501479c7462b770825 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Tue, 12 Dec 2017 19:47:38 -0800 Subject: [PATCH] added cli test veryfying bug #944 this test fails on v1.3.2 --- tests/playTests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/playTests.sh b/tests/playTests.sh index 299c2d883..6b78b305a 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -297,6 +297,8 @@ cp $TESTFILE tmp $ZSTD -f tmp -D tmpDict $ZSTD -d tmp.zst -D tmpDict -fo result $DIFF $TESTFILE result +$ECHO "- Test dictionary compression with multithreading " +./datagen -g5M | $ZSTD -T2 -D tmpDict | $ZSTD -t -D tmpDict # fails with v1.3.2 $ECHO "- Create second (different) dictionary " $ZSTD --train *.c ../programs/*.c ../programs/*.h -o tmpDictC $ZSTD -d tmp.zst -D tmpDictC -fo result && die "wrong dictionary not detected!"