]> git.ipfire.org Git - thirdparty/suricata-verify.git/commit
tests: fix bad http host rule tests
authorJuliana Fajardini <jufajardini@oisf.net>
Mon, 12 Dec 2022 22:38:29 +0000 (19:38 -0300)
committerJason Ish <jason.ish@oisf.net>
Tue, 31 Jan 2023 21:33:16 +0000 (15:33 -0600)
commit9120b3ee4126319c86bd13b328ad4cea1516138a
tree1d6fe6bb3885ac9b90f2741dbad1b82a906daa2d
parentcc7ac3ae028db234f07958b7e298faf3e9159f1d
tests: fix bad http host rule tests

The test.yaml files were missing the command set to compare eve.json
output and to run without a pcap file, therefore being simply skipped
for lack of a pcap file.

Also took the opportunity to make these compatible with new error
message formats for Suricata 7.

Test 1 also had a typo in the expected message to be checked, making it
fail.
tests/test-bad-http-host-rule-1/test.yaml
tests/test-bad-http-host-rule-2/test.yaml