]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Added Test Case
authorGeorge Lu <gclu@fb.com>
Fri, 1 Jun 2018 16:52:25 +0000 (09:52 -0700)
committerGeorge Lu <gclu@fb.com>
Fri, 1 Jun 2018 16:52:25 +0000 (09:52 -0700)
tests/playTests.sh

index 200de4bd93fcf890ec87a3f48345e2e31fa68bd5..1433122ed3d4e7139ca6d4fab8fd578cd513d34a 100755 (executable)
@@ -485,6 +485,11 @@ $ZSTD -bi0 --fast tmp1
 $ECHO "with recursive and quiet modes"
 $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"
 
 $ECHO "\n===>  gzip compatibility tests "