]> git.ipfire.org Git - thirdparty/suricata-verify.git/commit
tests: add keyword check to requires test 2158/head
authorJason Ish <jason.ish@oisf.net>
Wed, 20 Nov 2024 17:12:03 +0000 (11:12 -0600)
committerVictor Julien <victor@inliniac.net>
Mon, 2 Dec 2024 11:33:36 +0000 (12:33 +0100)
commit5fe298cba770b378a2778da8928656638ca452c2
tree94ad8a1deffc3f5b1879be44e1fe5da037ce9790
parentc5b334543a9b8a64c0b02f4948dc50d32136d46c
tests: add keyword check to requires test

Only for 8.0 for now.

requires-fail: With the change to unknown requires statements treated as
not meeting requirements, update the rule to use an unknown keyword to
make it fail out.

This is to test an edge case from ticket #6710.

Ticket: #7403
tests/requires-fail/README.md
tests/requires-fail/test.rules
tests/requires-ok/test.rules
tests/requires-ok/test.yaml