From: Jason Ish Date: Thu, 7 Apr 2016 16:57:27 +0000 (-0600) Subject: counters: use some of the new macros in tests X-Git-Tag: suricata-3.1RC1~285 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da1dec6d65f1c9913ececb0e1c86a8c8260ed0cc;p=thirdparty%2Fsuricata.git counters: use some of the new macros in tests --- diff --git a/src/counters.c b/src/counters.c index c00b4fcf29..add05fca79 100644 --- a/src/counters.c +++ b/src/counters.c @@ -1384,7 +1384,7 @@ static int StatsTestCntArraySize07() StatsReleaseCounters(tv.perf_public_ctx.head); StatsReleasePrivateThreadContext(pca); - return result == 2; + PASS_IF(result == 2); } static int StatsTestUpdateCounter08()