From: Victor Julien Date: Mon, 30 Aug 2021 19:56:24 +0000 (+0200) Subject: macset: adjust test to pass after fix X-Git-Tag: suricata-7.0.0-beta1~1473 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd40fcdea710349bb998fbc4323c94394bf69c98;p=thirdparty%2Fsuricata.git macset: adjust test to pass after fix --- diff --git a/src/util-macset.c b/src/util-macset.c index b88b342384..d169711fea 100644 --- a/src/util-macset.c +++ b/src/util-macset.c @@ -410,7 +410,7 @@ static int MacSetTest05(void) { MacSet *ms = NULL; int ret = 0, i = 0; - SC_ATOMIC_SET(flow_config.memcap, 10); + SC_ATOMIC_SET(flow_config.memcap, 64); ms = MacSetInit(10); FAIL_IF_NULL(ms); @@ -442,7 +442,7 @@ void MacSetRegisterTests(void) UtRegisterTest("MacSetTest02", MacSetTest02); UtRegisterTest("MacSetTest03", MacSetTest03); UtRegisterTest("MacSetTest04", MacSetTest04); - UtRegisterTest("MacSetTest04", MacSetTest05); + UtRegisterTest("MacSetTest05", MacSetTest05); #endif return;