mirror of
https://github.com/facebook/zstd.git
synced 2025-08-05 19:15:58 +03:00
added : test for too large CLevel
This commit is contained in:
@@ -26,6 +26,7 @@ roundTripTest() {
|
|||||||
echo "\n**** simple tests **** "
|
echo "\n**** simple tests **** "
|
||||||
./datagen > tmp
|
./datagen > tmp
|
||||||
$ZSTD tmp
|
$ZSTD tmp
|
||||||
|
$ZSTD -99 tmp && die "too large compression level undetected"
|
||||||
$ZSTD tmp -c > tmpCompressed
|
$ZSTD tmp -c > tmpCompressed
|
||||||
$ZSTD tmp --stdout > tmpCompressed
|
$ZSTD tmp --stdout > tmpCompressed
|
||||||
$ZSTD -d tmpCompressed && die "wrong suffix error not detected!"
|
$ZSTD -d tmpCompressed && die "wrong suffix error not detected!"
|
||||||
|
Reference in New Issue
Block a user