]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/alert: add unittests to check packet action
authorJuliana Fajardini <jufajardini@oisf.net>
Mon, 1 Aug 2022 23:04:22 +0000 (20:04 -0300)
committerVictor Julien <vjulien@oisf.net>
Thu, 25 Aug 2022 10:38:08 +0000 (12:38 +0200)
commitf897761ecbc0e78d45110f35b53820d74fd2e1d3
tree6a73b4188b0562c95148d24ac14d2ff8eecad46c
parentabd595d695ce477cccd80ec22ebcc156a544f65e
detect/alert: add unittests to check packet action

Add unittests to check that packet flags are correctly updated after
detection finds drop or reject rules that match.

Related to
Bug #5458
src/Makefile.am
src/detect-engine-alert.c
src/detect-engine-alert.h
src/runmode-unittests.c
src/tests/detect-engine-alert.c [new file with mode: 0644]