Redirect failed test result to INTOVOID and update comment about parsing fast command
This commit is contained in:
parent
aef8486fee
commit
1ab57a7ce1
@ -561,7 +561,7 @@ int main(int argCount, const char* argv[])
|
||||
continue;
|
||||
}
|
||||
if (longCommandWArg(&argument, "--fast")) {
|
||||
/* Parse optional window log */
|
||||
/* Parse optional acceleration factor */
|
||||
if (*argument == '=') {
|
||||
U32 fastLevel;
|
||||
++argument;
|
||||
|
@ -108,7 +108,7 @@ $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
|
||||
! $ZSTD -c --fast=0 tmp # should fail
|
||||
! $ZSTD -c --fast=0 tmp > $INTOVOID # should fail
|
||||
$ECHO "test : too large numeric argument"
|
||||
$ZSTD --fast=9999999999 -f tmp && die "should have refused numeric value"
|
||||
$ECHO "test : compress to stdout"
|
||||
|
Loading…
Reference in New Issue
Block a user