From 67d86a74a56033d4b5b568c9fddad13afc71af0b Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Mon, 27 Feb 2017 16:09:20 -0800 Subject: [PATCH] added test case : --rm on stdin must remain silent (instead of failing) --- tests/playTests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/playTests.sh b/tests/playTests.sh index 35731f9cf..c465fee3c 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -101,6 +101,8 @@ $ZSTD -f --rm tmp ls tmp && die "tmp should no longer be present" $ZSTD -f -d --rm tmp.zst ls tmp.zst && die "tmp.zst should no longer be present" +$ECHO "test : --rm on stdin" +$ECHO a | $ZSTD --rm > $INTOVOID # --rm should remain silent rm tmp $ZSTD -f tmp && die "tmp not present : should have failed" ls tmp.zst && die "tmp.zst should not be created"