mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00

During merge I split the test for bro_init/bro_done/bro_script_loaded event errors into individual tests since the other testing of the zeek versions of those events seemed fine to otherwise keep. * origin/topic/robin/631-deprecation-v2: Update NEWS for naming changes. Small cleanup and updating submodules. Remove test for legacy plugin. Remove legancy symlinks in aux/. Add warnings when loading scripts ending in ".bro", or using legacy environment variables. Fix missing rename. No longer symlink local.zeek to local.bro. Update notice user agent. Remove old_comm_usage_is_ok. Remove bro-config.h.in and bro-path-dev.in. Change Bro wrapper script to now abort when old executable names are still used. Remove APIs that were explicitly deprecated to be removed in 3.1.
32 lines
512 B
Text
32 lines
512 B
Text
# @TEST-EXEC: zeek -b %INPUT >out 2>&1
|
|
# @TEST-EXEC: btest-diff out
|
|
|
|
event zeek_init() &priority=-10
|
|
{
|
|
print "zeek_init at priority -10!";
|
|
}
|
|
|
|
event zeek_init() &priority=10
|
|
{
|
|
print "zeek_init at priority 10!";
|
|
}
|
|
|
|
event zeek_init() &priority=0
|
|
{
|
|
print "zeek_init at priority 0!";
|
|
}
|
|
|
|
event zeek_done() &priority=-10
|
|
{
|
|
print "zeek_done at priority -10!";
|
|
}
|
|
|
|
event zeek_done() &priority=0
|
|
{
|
|
print "zeek_done at priority 0!";
|
|
}
|
|
|
|
event zeek_done() &priority=10
|
|
{
|
|
print "zeek_done at priority 10!";
|
|
}
|