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:
Robin Sommer 2022-07-08 09:29:04 +02:00
commit e8e6fa8fed
7 changed files with 64 additions and 4 deletions

View 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