From: George Lu Date: Fri, 1 Jun 2018 17:54:51 +0000 (-0700) Subject: Modified Tests X-Git-Tag: v1.3.5~3^2~35^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41249bf34b5a4bba37834c03a0077497f5438d88;p=thirdparty%2Fzstd.git Modified Tests Changed format as per suggestion and added second test --- diff --git a/tests/playTests.sh b/tests/playTests.sh index 1433122ed..e0779ad2c 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -488,8 +488,9 @@ $ZSTD -rqi1b1e2 tmp1 $ECHO "\n===> zstd compatibility tests " ./datagen > tmp -$ZSTD --format=zstd tmp 2> tmplog -grep "zst" tmplog > $INTOVOID || die "--format=zstd not supported" +rm -f tmp.zst +$ZSTD --format=zstd -f tmp +test -f tmp.zst $ECHO "\n===> gzip compatibility tests " @@ -527,6 +528,12 @@ else $ECHO "gzip mode not supported" fi +if [ $GZIPMODE -eq 1 ]; then + ./datagen > tmp + rm -f tmp.zst + $ZSTD --format=gzip --format=zstd -f tmp + test -f tmp.zst +fi $ECHO "\n===> xz compatibility tests "