From: Nick Magerko Date: Tue, 20 Aug 2019 00:20:46 +0000 (-0700) Subject: Remove unnecessary test case X-Git-Tag: v1.4.4~1^2~72^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f23402f1f5f6a5b3adb103f06dd22c9d669a9311;p=thirdparty%2Fzstd.git Remove unnecessary test case --- diff --git a/tests/zstreamtest.c b/tests/zstreamtest.c index b0e5d827a..6fe177cbe 100644 --- a/tests/zstreamtest.c +++ b/tests/zstreamtest.c @@ -1151,21 +1151,6 @@ static int basicUnitTests(U32 seed, double compressibility) } DISPLAYLEVEL(3, "OK \n"); - DISPLAYLEVEL(3, "test%3i : ZSTD_c_srcSizeHint provides hint about size of stream : ", testNb++); - { - CHECK_Z( ZSTD_initCStream(zc, 1 /* cLevel */) ); - outBuff.dst = (char*)(compressedBuffer); - outBuff.size = compressedBufferSize; - outBuff.pos = 0; - inBuff.src = CNBuffer; - inBuff.size = CNBufferSize; - inBuff.pos = 0; - CHECK_Z( ZSTD_compressStream(zc, &outBuff, &inBuff) ); - if (inBuff.pos != inBuff.size) goto _output_error; /* entire input should be consumed */ - { size_t const r = ZSTD_endStream(zc, &outBuff); - if (r != 0) goto _output_error; } /* error, or some data not flushed */ - } - /* Overlen overwriting window data bug */ DISPLAYLEVEL(3, "test%3i : wildcopy doesn't overwrite potential match data : ", testNb++); { /* This test has a window size of 1024 bytes and consists of 3 blocks: