Gustavo Iñiguez Goia
cbe8f5ab9a
rules: added operator unit tests
...
New tests for operator type lists.domains_regexp, lists.ips and
lists.nets.
New tests to check leaks when reloading lists:
53419fe
2022-01-27 00:17:46 +01:00
Gustavo Iñiguez Goia
743ef71d7e
rules: don't load rules that fail to compile
...
Be sure that we don't load invalid regexp rules.
related: #536
2021-11-12 12:08:31 +01:00
Gustavo Iñiguez Goia
0d2e8b56ea
added operator tests
...
fixed lists operator tests.
added domain lists tests.
2021-03-05 01:10:01 +01:00
themighty1
078faa9fda
unittest: test live reloading of rules ( #317 )
...
* unittest: test live reloading of rules
* data files for the previous commit
* tests: move files under /testdata; give better names to rules
Co-authored-by: themighty1 <themighty1>
2020-12-28 12:59:29 +01:00
Gustavo Iñiguez Goia
9b035ca66e
added unit tests for process parsing and rules
2020-12-19 19:31:09 +01:00