From: Jason Ish Date: Mon, 22 Jan 2024 14:33:07 +0000 (-0600) Subject: tests/requires: fix for suricata 8 X-Git-Tag: suricata-6.0.16~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1601%2Fhead;p=thirdparty%2Fsuricata-verify.git tests/requires: fix for suricata 8 Suricata 8 will have 7 rules skipped, Suricata 7.0.3+ will have 6 rules skipped as there is a rule in here for Suricata >= 7.0.3 but less than 8. --- diff --git a/tests/requires/test.yaml b/tests/requires/test.yaml index b6a80d25e..280e94f7c 100644 --- a/tests/requires/test.yaml +++ b/tests/requires/test.yaml @@ -44,7 +44,18 @@ checks: alert.signature_id: 9 - filter: + requires: + min-version: 7 + lt-version: 8 count: 1 match: event_type: stats stats.detect.engines[0].rules_skipped: 6 + + - filter: + requires: + min-version: 8 + count: 1 + match: + event_type: stats + stats.detect.engines[0].rules_skipped: 7