]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
added : test for too large CLevel
authorYann Collet <yann.collet.73@gmail.com>
Tue, 16 Feb 2016 15:35:28 +0000 (16:35 +0100)
committerYann Collet <yann.collet.73@gmail.com>
Tue, 16 Feb 2016 15:35:28 +0000 (16:35 +0100)
programs/playTests.sh

index 25ba687e9aa449cb42f8dfe945dcd6db0963b43f..ec625ee849e4ac137404c298dbe4422add8b6ed1 100755 (executable)
@@ -26,6 +26,7 @@ roundTripTest() {
 echo "\n**** simple tests **** "
 ./datagen > tmp
 $ZSTD tmp
+$ZSTD -99 tmp && die "too large compression level undetected"
 $ZSTD tmp -c > tmpCompressed
 $ZSTD tmp --stdout > tmpCompressed
 $ZSTD -d tmpCompressed && die "wrong suffix error not detected!"