mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +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.
14 lines
380 B
Text
14 lines
380 B
Text
# @TEST-EXEC: zeek -b %INPUT >out 2>&1
|
|
# @TEST-EXEC: btest-diff out
|
|
|
|
event zeek_script_loaded(path: string, level: count) &priority=10
|
|
{
|
|
if ( /zeek_script_loaded.zeek/ in path )
|
|
print "zeek_script_loaded priority 10";
|
|
}
|
|
|
|
event zeek_script_loaded(path: string, level: count) &priority=0
|
|
{
|
|
if ( /zeek_script_loaded.zeek/ in path )
|
|
print "zeek_script_loaded priority 0";
|
|
}
|