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
dev
Topher Lubaway 2018-06-19 09:56:37 -07:00
parent 6bca3fb4bf
commit 5bac1db28f
1 changed files with 3 additions and 0 deletions

View File

@ -729,6 +729,9 @@ $ECHO "\n===> zstd --list/-l error detection tests "
! $ZSTD -lv tmp1*
! $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 "
./datagen -g0 > tmp5
$ZSTD tmp5