Tests to verify piped input to --list exits 1
I'm following the pattern that i saw in the rest of the test file please tell me if i am using the wrong conventions
This commit is contained in:
1 parent
6bca3fb4bf
commit
5bac1db28f
1 file changed
+3
@@ -729,6 +729,9 @@ $ECHO "\n===> zstd --list/-l error detection tests "
|
|||||||
! $ZSTD -lv tmp1*
|
! $ZSTD -lv tmp1*
|
||||||
! $ZSTD --list -v tmp2 tmp12.zst
|
! $ZSTD --list -v tmp2 tmp12.zst
|
||||||
|
|
||||||
|
$ECHO "\n===> zstd --list/-l exits 1 when stdin is piped in"
|
||||||
|
! echo "piped STDIN" | $ZSTD --list
|
||||||
|
|
||||||
$ECHO "\n===> zstd --list/-l test with null files "
|
$ECHO "\n===> zstd --list/-l test with null files "
|
||||||
./datagen -g0 > tmp5
|
./datagen -g0 > tmp5
|
||||||
$ZSTD tmp5
|
$ZSTD tmp5
|
||||||
|
|||||||
Reference in new issue
Block a user