]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
[zstreamtest] Remove outdated test 1550/head
authorNick Terrell <terrelln@fb.com>
Thu, 14 Mar 2019 00:01:23 +0000 (17:01 -0700)
committerNick Terrell <terrelln@fb.com>
Thu, 14 Mar 2019 00:01:23 +0000 (17:01 -0700)
tests/zstreamtest.c

index 6d3cbffb1118befd42488c5d29d875ec249b336b..b099e2870a6029aec7c9c5d66fcd07ed465df5ac 100644 (file)
@@ -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) );
                 }