From de48f35306b72fd7482b30c457a608d8e9d0651d Mon Sep 17 00:00:00 2001 From: Bimba Shrestha Date: Thu, 18 Jun 2020 09:36:36 -0700 Subject: [PATCH] adding --patch-from --stream-size test --- tests/playTests.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/playTests.sh b/tests/playTests.sh index 7a2689cd3..c3168d53c 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -1304,6 +1304,13 @@ datagen -g5000000 > tmp_patch zstd -15 --patch-from=tmp_dict tmp_patch 2>&1 | grep "long mode automatically triggered" rm -rf tmp* +println "\n===> patch-from --stream-size test" +datagen -g1000 -P50 > tmp_dict +datagen -g1000 -P10 > tmp_patch +cat tmp_patch | zstd -f --patch-from=tmp_dict -c -o tmp_patch_diff && die +cat tmp_patch | zstd -f --patch-from=tmp_dict --stream-size=1000 -c -o tmp_patch_diff +rm -rf tmp* + println "\n===> large files tests " roundTripTest -g270000000 1 -- 2.47.2