mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Allow to activate plugins from the command line by specifying their
fully-qualified name.
This commit is contained in:
parent
c9524757d2
commit
38c69f9cd0
4 changed files with 21 additions and 4 deletions
|
@ -18,3 +18,7 @@ calling bif, Hello from the plugin!
|
|||
plugin: automatically loaded at startup
|
||||
calling bif, Hello from the plugin!
|
||||
plugin: manually loaded
|
||||
===
|
||||
plugin: automatically loaded at startup
|
||||
calling bif, Hello from the plugin!
|
||||
plugin: manually loaded
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
# @TEST-EXEC: echo === >>output
|
||||
# @TEST-EXEC: BRO_PLUGIN_PATH=`pwd` bro -b ./activate.bro demo/foo -r $TRACES/empty.trace >>output
|
||||
|
||||
# @TEST-EXEC: echo === >>output
|
||||
# @TEST-EXEC: BRO_PLUGIN_PATH=`pwd` bro -b Demo::Foo demo/foo -r $TRACES/empty.trace >>output
|
||||
|
||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER= btest-diff output
|
||||
|
||||
cat >scripts/__load__.bro <<EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue