]> git.ipfire.org Git - thirdparty/suricata-verify.git/commit
test: lua-rule-errors 1835/head
authorJason Ish <jason.ish@oisf.net>
Tue, 7 May 2024 16:43:27 +0000 (10:43 -0600)
committerVictor Julien <victor@inliniac.net>
Thu, 16 May 2024 17:58:36 +0000 (19:58 +0200)
commit2fc5b9fc8e9ae7ccec2acc9fa7b69a4a88c10ccd
tree9ee82a3709c4b261aea8983616309fc50c266625
parent0fe8542b54faaae8cdfc9e6f9926aa501d5c3166
test: lua-rule-errors

Test for correct behvaior when a Lua rule crashes.

On crash, a Lua script should not result in a match when negation is
applied. Also test for:
- error stat
- one time logging per thread

Ticket: #6940
tests/lua/lua-bad-script/README.md [new file with mode: 0644]
tests/lua/lua-bad-script/error.lua [new file with mode: 0644]
tests/lua/lua-bad-script/logging.yaml [new file with mode: 0644]
tests/lua/lua-bad-script/match.lua [new file with mode: 0644]
tests/lua/lua-bad-script/nomatch.lua [new file with mode: 0644]
tests/lua/lua-bad-script/test.pcap [new file with mode: 0644]
tests/lua/lua-bad-script/test.rules [new file with mode: 0644]
tests/lua/lua-bad-script/test.yaml [new file with mode: 0644]