From: Nick Terrell Date: Tue, 28 Aug 2018 20:42:01 +0000 (-0700) Subject: Small test fixes X-Git-Tag: v0.0.29~25^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e984d01912896981d70a552dac6983c13a182d13;p=thirdparty%2Fzstd.git Small test fixes --- diff --git a/tests/fuzzer.c b/tests/fuzzer.c index fd7ccff76..641357e76 100644 --- a/tests/fuzzer.c +++ b/tests/fuzzer.c @@ -1381,7 +1381,7 @@ static int basicUnitTests(U32 seed, double compressibility) size_t const bound = ZSTD_compressBound(_3BYTESTESTLENGTH); size_t nbSeq = 1; while (nbSeq <= maxNbSeq) { - CHECK(ZSTD_compressCCtx(cctx, compressedBuffer, bound, CNBuffer, nbSeq * 3, 3)); + CHECK(ZSTD_compressCCtx(cctx, compressedBuffer, bound, CNBuffer, nbSeq * 3, 19)); /* Check every sequence for the first 100, then skip more rapidly. */ if (nbSeq < 100) { ++nbSeq; @@ -1405,7 +1405,7 @@ static int basicUnitTests(U32 seed, double compressibility) DISPLAYLEVEL(3, "OK \n"); - DISPLAYLEVEL(3, "test%3i : incompressible data and ill suited dictionary : ", testNb++); + DISPLAYLEVEL(3, "test%3i : growing literals buffer : ", testNb++); RDG_genBuffer(CNBuffer, CNBuffSize, 0.0, 0.1, seed); { ZSTD_CCtx* const cctx = ZSTD_createCCtx(); size_t const bound = ZSTD_compressBound(CNBuffSize);