mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +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.
29 lines
869 B
Text
29 lines
869 B
Text
# A test of prefix-based @load'ing
|
|
|
|
# @TEST-EXEC: zeek -b base/utils/site base/protocols/http addprefixes >output
|
|
# @TEST-EXEC: btest-diff output
|
|
|
|
@TEST-START-FILE addprefixes.zeek
|
|
@prefixes += lcl
|
|
@prefixes += lcl2
|
|
@TEST-END-FILE
|
|
|
|
# Since base/utils/site.zeek is a script, only a script with the original file
|
|
# extension can be loaded here.
|
|
@TEST-START-FILE lcl.base.utils.site.zeek
|
|
print "loaded lcl.base.utils.site.zeek";
|
|
@TEST-END-FILE
|
|
|
|
@TEST-START-FILE lcl2.base.utils.site.zeek
|
|
print "loaded lcl2.base.utils.site.zeek";
|
|
@TEST-END-FILE
|
|
|
|
# For a script package like base/protocols/http/, either of the recognized
|
|
# file extensions can be loaded here.
|
|
@TEST-START-FILE lcl.base.protocols.http.zeek
|
|
print "loaded lcl.base.protocols.http.zeek";
|
|
@TEST-END-FILE
|
|
|
|
@TEST-START-FILE lcl2.base.protocols.http.bro
|
|
print "loaded lcl2.base.protocols.http.bro";
|
|
@TEST-END-FILE
|