From: Nick Terrell Date: Thu, 14 Mar 2019 00:01:23 +0000 (-0700) Subject: [zstreamtest] Remove outdated test X-Git-Tag: v1.4.0^2~28^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18fbcddd0cc3f2dbd19eb15b608d4daf1b74c863;p=thirdparty%2Fzstd.git [zstreamtest] Remove outdated test --- diff --git a/tests/zstreamtest.c b/tests/zstreamtest.c index 6d3cbffb1..b099e2870 100644 --- a/tests/zstreamtest.c +++ b/tests/zstreamtest.c @@ -1930,16 +1930,6 @@ static int fuzzerTests_newAPI(U32 seed, int nbTests, int startTest, } else { CHECK_Z( ZSTD_CCtx_loadDictionary_byReference(zc, dict, dictSize) ); } - if (dict && dictSize) { - /* test that compression parameters are rejected (correctly) after loading a non-NULL dictionary */ - if (opaqueAPI) { - size_t const setError = ZSTD_CCtx_setParametersUsingCCtxParams(zc, cctxParams); - CHECK(!ZSTD_isError(setError), "ZSTD_CCtx_setParametersUsingCCtxParams should have failed"); - } else { - size_t const setError = ZSTD_CCtx_setParameter(zc, ZSTD_c_windowLog, cParams.windowLog-1); - CHECK(!ZSTD_isError(setError), "ZSTD_CCtx_setParameter should have failed"); - } - } } else { CHECK_Z( ZSTD_CCtx_refPrefix(zc, dict, dictSize) ); }