From: Przemyslaw Skibinski Date: Wed, 14 Dec 2016 17:07:31 +0000 (+0100) Subject: improved playTests.sh (2) X-Git-Tag: v1.1.3^2~54^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24a4236111d28b354b3712de942ae03b3ef8c161;p=thirdparty%2Fzstd.git improved playTests.sh (2) --- diff --git a/tests/playTests.sh b/tests/playTests.sh index 6f7891fbc..b98acfb93 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -27,7 +27,6 @@ case "$OS" in Windows*) isWindows=true ECHO="echo -e" - INTOVOID="nul" ;; esac @@ -102,9 +101,10 @@ 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!" +$ECHO "Hello world!" | $ZSTD --zstd=windowLog=21, - -o tmp.zst && die "wrong parameters not detected!" +$ECHO "Hello world!" | $ZSTD --zstd=windowLo=21 - -o tmp.zst && die "wrong parameters not detected!" +$ECHO "Hello world!" | $ZSTD --zstd=windowLog=21,slog= - -o tmp.zst && die "wrong parameters not detected!" +ls tmp.zst && die "tmp.zst should not be created" roundTripTest -g512K roundTripTest -g512K " --zstd=slen=3,tlen=48,strat=6" roundTripTest -g512K " --zstd=strat=6,wlog=23,clog=23,hlog=22,slog=6"