]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
added test case : --rm on stdin
authorYann Collet <cyan@fb.com>
Tue, 28 Feb 2017 00:09:20 +0000 (16:09 -0800)
committerYann Collet <cyan@fb.com>
Tue, 28 Feb 2017 00:09:20 +0000 (16:09 -0800)
must remain silent (instead of failing)

tests/playTests.sh

index 35731f9cf49467981341a8709d6e2d7957ac880e..c465fee3c7ab59b75ef741e2739ad72ad822b845 100755 (executable)
@@ -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"