mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 22:18:20 +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
2
testing/btest/Baseline/plugins.debug-streams/zeek.stderr
Normal file
2
testing/btest/Baseline/plugins.debug-streams/zeek.stderr
Normal file
|
@ -0,0 +1,2 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
error in <command line>, line 3: No plugin debug stream 'plugin-zeek-http' found
|
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