Actions
Task #6489
opentest/stream/tcp-list: fix unittests
Effort:
Difficulty:
Label:
Beginner
Description
With the heavy usage of macros in the unit tests in stream-tcp-list, some of the tests end up broken, as we don't check for the returns of the macro calls in the tests themselves.
Cf. https://github.com/OISF/suricata/pull/9694#discussion_r1374894595
As the comment states, we must ensure that calls to macros that return a FAIL or PASS statement are wrapped up by FAIL_IF
or FAIL_IF_NOT
statements.
Updated by Juliana Fajardini Reichow 12 months ago
- Related to Task #6330: Convert unittests to new FAIL/PASS API - tests/stream-tcp-list.c added
Actions