]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
[cover] Test small maxdict 809/head
authorNick Terrell <terrelln@fb.com>
Mon, 21 Aug 2017 18:16:47 +0000 (11:16 -0700)
committerNick Terrell <terrelln@fb.com>
Mon, 21 Aug 2017 18:16:47 +0000 (11:16 -0700)
tests/playTests.sh

index bc8584e7a9f08ca547b6c3bb034c59b4beaf13ac..706cef2da69e9e1cd46826ed3af5fcc3281aa82c 100755 (executable)
@@ -291,8 +291,10 @@ $ECHO "- Create dictionary with wrong dictID parameter order (must fail)"
 $ZSTD --train *.c ../programs/*.c --dictID -o 1 tmpDict1 && die "wrong order : --dictID must be followed by argument "
 $ECHO "- Create dictionary with size limit"
 $ZSTD --train *.c ../programs/*.c -o tmpDict2 --maxdict=4K -v
+$ECHO "- Create dictionary with small size limit"
+$ZSTD --train *.c ../programs/*.c -o tmpDict3 --maxdict=1K -v
 $ECHO "- Create dictionary with wrong parameter order (must fail)"
-$ZSTD --train *.c ../programs/*.c -o tmpDict2 --maxdict -v 4K && die "wrong order : --maxdict must be followed by argument "
+$ZSTD --train *.c ../programs/*.c -o tmpDict3 --maxdict -v 4K && die "wrong order : --maxdict must be followed by argument "
 $ECHO "- Compress without dictID"
 $ZSTD -f tmp -D tmpDict1 --no-dictID
 $ZSTD -d tmp.zst -D tmpDict -fo result