Allow to activate plugins from the command line by specifying their

fully-qualified name.
This commit is contained in:
Robin Sommer 2014-07-21 16:58:10 +02:00
parent c9524757d2
commit 38c69f9cd0
4 changed files with 21 additions and 4 deletions

View file

@ -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