From: Yann Collet Date: Mon, 25 Nov 2019 18:53:03 +0000 (-0800) Subject: added decompression into /dev/null tests X-Git-Tag: v1.4.5^2~143^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60db21a677a59ad0fb5910b87355ad161a216a47;p=thirdparty%2Fzstd.git added decompression into /dev/null tests --- diff --git a/tests/playTests.sh b/tests/playTests.sh index 6359076c5..295525114 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -315,6 +315,10 @@ then println "\n===> checking /dev/null permissions are unaltered " ./datagen > tmp sudo $ZSTD tmp -o $INTOVOID # sudo rights could modify /dev/null permissions + sudo $ZSTD tmp -c > $INTOVOID + $ZSTD tmp -f -o tmp.zst + sudo $ZSTD -d tmp.zst -c > $INTOVOID + sudo $ZSTD -d tmp.zst -o $INTOVOID ls -las $INTOVOID | grep "rw-rw-rw-" fi