mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

This is essentially the code from the dynamic-plugin branch except for some pieces that I have split out into separate, earlier commits. I'm going to updatre things in this branch going forward.
13 lines
496 B
Text
13 lines
496 B
Text
# @TEST-EXEC: ${DIST}/aux/bro-aux/plugin-support/init-plugin Demo Foo
|
|
# @TEST-EXEC: cp -r %DIR/analyzer-plugin/* .
|
|
# @TEST-EXEC: make BRO=${DIST}
|
|
# @TEST-EXEC: BROPLUGINS=`pwd` bro -NN | awk '/^Plugin:.*Demo/ {p=1; print; next} /^Plugin:/{p=0} p==1{print}' >>output
|
|
# @TEST-EXEC: echo === >>output
|
|
# @TEST-EXEC: BROPLUGINS=`pwd` bro -r $TRACES/port4242.trace %INPUT >>output
|
|
# @TEST-EXEC: btest-diff output
|
|
|
|
event foo_message(c: connection, data: string)
|
|
{
|
|
print "foo_message", c$id, data;
|
|
}
|
|
|