mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00

* origin/topic/seth/zeek_init: Some more testing fixes. Update docs and tests for bro_(init|done) -> zeek_(init|done) Implement the zeek_init handler.
12 lines
223 B
Text
12 lines
223 B
Text
# @TEST-EXEC: bro -b %INPUT >out
|
|
# @TEST-EXEC: btest-diff out
|
|
|
|
# We don't have a foo.bro, but we'll accept foo.zeek.
|
|
@load foo.bro
|
|
|
|
@TEST-START-FILE foo.zeek
|
|
event zeek_init()
|
|
{
|
|
print "loaded foo.zeek";
|
|
}
|
|
@TEST-END-FILE
|