From: Yann Collet Date: Wed, 13 Dec 2017 03:47:38 +0000 (-0800) Subject: added cli test veryfying bug #944 X-Git-Tag: v1.3.3^2~10^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98ccc115edffd286d44ac6501479c7462b770825;p=thirdparty%2Fzstd.git added cli test veryfying bug #944 this test fails on v1.3.2 --- 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!"