Adjust playTests.sh refuse overwrite test to include -q

This commit is contained in:
senhuang42 2020-08-26 11:40:05 -04:00
parent b6abbc3ce5
commit a73e131f10

View File

@ -361,7 +361,7 @@ zstd tmp1.zst tmp2.zst -o "$INTOVOID" -f
zstd -d tmp1.zst tmp2.zst -o tmp zstd -d tmp1.zst tmp2.zst -o tmp
touch tmpexists touch tmpexists
zstd tmp1 tmp2 -f -o tmpexists zstd tmp1 tmp2 -f -o tmpexists
zstd tmp1 tmp2 -o tmpexists && die "should have refused to overwrite" zstd tmp1 tmp2 -q -o tmpexists && die "should have refused to overwrite"
# Bug: PR #972 # Bug: PR #972
if [ "$?" -eq 139 ]; then if [ "$?" -eq 139 ]; then
die "should not have segfaulted" die "should not have segfaulted"