mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
Merge remote-tracking branch 'origin/topic/awelzel/913-plugin-debug-stream-validation'
One change: turns out that zeek-config isn't in PATH, so I prefixed it with $BUILD. * origin/topic/awelzel/913-plugin-debug-stream-validation: zeek-setup: Validate plugin debug streams during startup
This commit is contained in:
commit
e8e6fa8fed
7 changed files with 64 additions and 4 deletions
7
testing/btest/plugins/debug-streams.zeek
Normal file
7
testing/btest/plugins/debug-streams.zeek
Normal file
|
@ -0,0 +1,7 @@
|
|||
# This requires Zeek with debug streams support.
|
||||
# @TEST-REQUIRES: test "$($BUILD/zeek-config --build_type)" = "debug"
|
||||
|
||||
# @TEST-EXEC: zeek -B plugin-Zeek-HTTP -e 'event zeek_init() { print "zeek_init"; }' 2>zeek.stderr
|
||||
# @TEST-EXEC-FAIL: zeek -B plugin-zeek-http -e 'event zeek_init() { print "zeek_init"; }' 2>zeek.stderr
|
||||
|
||||
# @TEST-EXEC: btest-diff zeek.stderr
|
Loading…
Add table
Add a link
Reference in a new issue