]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Small test fixes
authorNick Terrell <terrelln@fb.com>
Tue, 28 Aug 2018 20:42:01 +0000 (13:42 -0700)
committerNick Terrell <terrelln@fb.com>
Tue, 28 Aug 2018 20:42:01 +0000 (13:42 -0700)
tests/fuzzer.c

index fd7ccff7638f458fd74153a8011c953c843d2364..641357e76c24131c195aca02ab403a4b26180f8e 100644 (file)
@@ -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);