]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
added large negative level test case
authorYann Collet <cyan@fb.com>
Wed, 21 Mar 2018 22:54:44 +0000 (15:54 -0700)
committerYann Collet <cyan@fb.com>
Wed, 21 Mar 2018 22:54:44 +0000 (15:54 -0700)
tests/playTests.sh

index 1847f57d7f1c63a780b736553eafd4c828e41010..41d8263b6a674f9c0749a65620d5893b8b9e2fca 100755 (executable)
@@ -106,6 +106,7 @@ $ZSTD -99 -f tmp  # too large compression level, automatic sized down
 $ECHO "test : --fast aka negative compression levels"
 $ZSTD --fast -f tmp  # == -1
 $ZSTD --fast=3 -f tmp  # == -3
+$ZSTD --fast=200000 -f tmp  # == no compression
 $ECHO "test : compress to stdout"
 $ZSTD tmp -c > tmpCompressed
 $ZSTD tmp --stdout > tmpCompressed       # long command format