playTests.sh: added Advanced compression parameters

This commit is contained in:
Przemyslaw Skibinski 2016-12-14 16:50:00 +01:00
parent 25314428c9
commit 9b4fa0ddf7

View File

@ -101,6 +101,15 @@ $ZSTD -f tmp && die "tmp not present : should have failed"
ls tmp.zst && die "tmp.zst should not be created" 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 "\n**** Pass-Through mode **** "
$ECHO "Hello world 1!" | $ZSTD -df $ECHO "Hello world 1!" | $ZSTD -df
$ECHO "Hello world 2!" | $ZSTD -dcf $ECHO "Hello world 2!" | $ZSTD -dcf