zeek/testing/btest/policy/misc/loaded-scripts.bro
Robin Sommer 97b5f812c7 A new event bro_script_loaded() raised for each policy script loaded.
Also removing the -l command-line option as that can now be done at
the script-level.

A couple tests fail now that use -l. Leaving that until we have
script-level replacement.
2011-07-07 19:56:26 -07:00

7 lines
145 B
Text

# @TEST-EXEC: bro %INPUT >output
# @TEST-EXEC: btest-diff output
event bro_script_loaded(path: string, level: count)
{
print level, path;
}