diff --git a/tests/playTests.sh b/tests/playTests.sh index db82c9a0c..0276f58e1 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -1270,11 +1270,19 @@ rm -rf tmp_* println "\n===> patch-from recursive tests" mkdir tmp_dir -datagen > tmp_dir/tmp1 +datagen > tmp_dir/tmp1 datagen > tmp_dir/tmp2 datagen > tmp_dict zstd --patch-from=tmp_dict -r tmp_dir && die -rm -rf tmp* +rm -rf tmp* + +println "\n===> patch-from long mode trigger larger file test" + +datagen -g5000000 > tmp_dict +datagen -g5000000 > tmp_patch +zstd -15 --patch-from=tmp_dict tmp_patch &> tmp_out +grep "long mode automaticaly triggered" tmp_out +rm -rf tmp* println "\n===> large files tests "