]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
tests/requires: fix for suricata 8 1601/head
authorJason Ish <jason.ish@oisf.net>
Mon, 22 Jan 2024 14:33:07 +0000 (08:33 -0600)
committerVictor Julien <victor@inliniac.net>
Mon, 22 Jan 2024 19:58:08 +0000 (20:58 +0100)
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.

tests/requires/test.yaml

index b6a80d25efd33af4a73a7744e9d060301cd5971d..280e94f7c64871a45d824ff34fb4c1fec97d2d1f 100644 (file)
@@ -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