mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

- Use `-b` most everywhere, it will save time. - Start some intel tests upon the input file being fully read instead of at an arbitrary time. - Improve termination condition for some sumstats/cluster tests. - Filter uninteresting output from some supervisor tests. - Test for `notice_policy.log` is no longer needed.
16 lines
382 B
Text
16 lines
382 B
Text
# @TEST-EXEC: zeek -b %INPUT >output
|
|
# @TEST-EXEC: btest-diff output
|
|
|
|
@load base/utils/patterns
|
|
|
|
global r1 = set_to_regex(set("blah", "bleh", "blarg"), "(~~)");
|
|
global r2 = set_to_regex(set("blah", "bleh", "blarg"), "foo(~~)bar");
|
|
|
|
print r1;
|
|
print "blah" == r1;
|
|
|
|
print r2;
|
|
print "fooblargbar" == r2;
|
|
|
|
print match_pattern("123blah123", r1);
|
|
print match_pattern("no match here", r1);
|