]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
changed test, in compliance with new --ultra policy
authorYann Collet <yann.collet.73@gmail.com>
Fri, 12 Aug 2016 17:00:18 +0000 (19:00 +0200)
committerYann Collet <yann.collet.73@gmail.com>
Fri, 12 Aug 2016 17:00:18 +0000 (19:00 +0200)
programs/playTests.sh

index 1fc508f9dd398bc4db66eb09e8017c56aa97774f..70ac35ecbe011f58bcf1a455c3592fb5e19f2fae 100755 (executable)
@@ -47,7 +47,7 @@ $ECHO "\n**** simple tests **** "
 $ZSTD -f tmp                      # trivial compression case, creates tmp.zst
 $ZSTD -df tmp.zst                 # trivial decompression case (overwrites tmp)
 $ECHO "test : too large compression level (must fail)"
-$ZSTD -99 tmp && die "too large compression level undetected"
+$ZSTD -99 -f tmp  # too large compression level, automatic sized down
 $ECHO "test : compress to stdout"
 $ZSTD tmp -c > tmpCompressed
 $ZSTD tmp --stdout > tmpCompressed       # long command format