summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2022-07-29 20:32:41 (GMT)
committerYann Collet <cyan@fb.com>2022-07-29 20:32:41 (GMT)
commit08262342935fb0ae41ecf8e229771031fdd80506 (patch)
treed2ad698b786bfa4cffb92a70d6e8521bbe1ba9c2 /tests
parent8f18b4b4e6de05b86036973e69aeaa1a31f7d271 (diff)
downloadlz4-08262342935fb0ae41ecf8e229771031fdd80506.zip
lz4-08262342935fb0ae41ecf8e229771031fdd80506.tar.gz
lz4-08262342935fb0ae41ecf8e229771031fdd80506.tar.bz2
added options.skipChecksums to local fuzzer test
Diffstat (limited to 'tests')
-rw-r--r--tests/frametest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/frametest.c b/tests/frametest.c
index ed4186a..3301955 100644
--- a/tests/frametest.c
+++ b/tests/frametest.c
@@ -906,6 +906,7 @@ size_t test_lz4f_decompression_wBuffers(
memset(&dOptions, 0, sizeof(dOptions));
dOptions.stableDst = FUZ_rand(randState) & 1;
if (o_scenario == o_overwrite) dOptions.stableDst = 0; /* overwrite mode */
+ dOptions.skipChecksums = FUZ_rand(randState) & 127;
if (sentinelTest) op[oSizeMax] = mark;
DISPLAYLEVEL(7, "dstCapacity=%u, presentedInput=%u \n", (unsigned)oSize, (unsigned)iSize);