added : test for too large CLevel

dev
Yann Collet 2016-02-16 16:35:28 +01:00
parent 6aa896adc6
commit 9abc358df6
1 changed files with 1 additions and 0 deletions

View File

@ -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!"