]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
added a simple test case for decode-only benchmark mode
authorYann Collet <cyan@fb.com>
Thu, 8 Nov 2018 20:51:42 +0000 (12:51 -0800)
committerYann Collet <cyan@fb.com>
Thu, 8 Nov 2018 20:51:42 +0000 (12:51 -0800)
as it was broken and no one noticed

tests/playTests.sh

index b86a0dc40cb207bf00bd74efaae7e3e84a4d9e5c..f35f5fee6ef5b38ceb12fc89b79c3b957e0bcc0d 100755 (executable)
@@ -541,6 +541,9 @@ $ECHO "bench negative level"
 $ZSTD -bi0 --fast tmp1
 $ECHO "with recursive and quiet modes"
 $ZSTD -rqi1b1e2 tmp1
+$ECHO "benchmark decompression only"
+$ZSTD -f tmp1
+$ZSTD -b -d -i1 tmp1.zst
 
 $ECHO "\n===>  zstd compatibility tests "