From 5bac1db28f383d0d6e05296f157f7dcfdf881452 Mon Sep 17 00:00:00 2001 From: Topher Lubaway Date: Tue, 19 Jun 2018 09:56:37 -0700 Subject: [PATCH] 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 --- tests/playTests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/playTests.sh b/tests/playTests.sh index 48001c2eb..3b872d281 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -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 -- 2.47.2