mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 13:38:19 +00:00
Updating tests and tweaking HookArgument to include Frame support.
* Add frame support to HookArgument, since it's a new argument to HookCallFunction * Fix test in api-version-mismatch to remove absolute paths from output * Update test plugin to use new HookCallFunction interface
This commit is contained in:
parent
0104d7147d
commit
70c7258dfa
7 changed files with 879 additions and 899 deletions
|
@ -2,6 +2,7 @@
|
|||
# @TEST-EXEC: bash %INPUT
|
||||
# @TEST-EXEC: ./configure --bro-dist=${DIST} && make
|
||||
# @TEST-EXEC-FAIL: BRO_PLUGIN_PATH=`pwd` bro -NN Demo::Foo >>output 2>&1
|
||||
# @TEST-EXEC: cat output | sed 's/\/[^ ]*/XXX/g' > output.2 && mv -f output.2 output
|
||||
# @TEST-EXEC: btest-diff output
|
||||
|
||||
( echo '#define BRO_PLUGIN_API_VERSION 42'; cat src/Plugin.cc; ) >src/Plugin.cc.tmp && mv src/Plugin.cc.tmp src/Plugin.cc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue