From: Przemyslaw Skibinski Date: Wed, 14 Dec 2016 15:50:00 +0000 (+0100) Subject: playTests.sh: added Advanced compression parameters X-Git-Tag: v1.1.3^2~54^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b4fa0ddf722cc154e6f2274abaa346e62a4c2b4;p=thirdparty%2Fzstd.git playTests.sh: added Advanced compression parameters --- diff --git a/tests/playTests.sh b/tests/playTests.sh index abde72c80..c5bc577dd 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -101,6 +101,15 @@ $ZSTD -f tmp && die "tmp not present : should have failed" ls tmp.zst && die "tmp.zst should not be created" +$ECHO "\n**** Advanced compression parameters **** " +$ZSTD --zstd=windowLog=21, && die "wrong parameters not detected!" +$ZSTD --zstd=windowLok=21 && die "wrong parameters not detected!" +$ZSTD --zstd=windowLog=21,slog= && die "wrong parameters not detected!" +roundTripTest -g512K +roundTripTest -g512K " --zstd=windowLog=23,chainLog=23,hashLog=22,searchLog=6,searchLength=3,targetLength=48,strategy=6" +roundTripTest -g512K 19 + + $ECHO "\n**** Pass-Through mode **** " $ECHO "Hello world 1!" | $ZSTD -df $ECHO "Hello world 2!" | $ZSTD -dcf