From: Yann Collet Date: Tue, 28 Feb 2017 00:09:20 +0000 (-0800) Subject: added test case : --rm on stdin X-Git-Tag: v1.1.4~1^2~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67d86a74a56033d4b5b568c9fddad13afc71af0b;p=thirdparty%2Fzstd.git added test case : --rm on stdin must remain silent (instead of failing) --- 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"