]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
added additional tests for error detection
authorPaul Cruz <paulcruz74@fb.com>
Tue, 20 Jun 2017 18:54:44 +0000 (11:54 -0700)
committerPaul Cruz <paulcruz74@fb.com>
Tue, 20 Jun 2017 18:54:44 +0000 (11:54 -0700)
tests/playTests.sh

index 07d63e300335df6ab41646946efea76c8f9bf716..0fa6a721902c411e2ccbfbefaf1944ce0cda949a 100755 (executable)
@@ -558,6 +558,12 @@ $ZSTD -lv *.zst
 $ZSTD --list *.zst
 $ZSTD --list -v *.zst
 
+$ECHO "\n**** zstd --list/-l error detection tests ****"
+!$ZSTD -l tmp1 tmp1.zst
+!$ZSTD --list tmp*
+!$ZSTD -lv tmp1*
+!$ZSTD --list -v tmp2 tmp23.zst
+
 rm tmp*
 
 if [ "$1" != "--test-large-data" ]; then