mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Make "-B all" apply to plugin streams as well.
This commit is contained in:
parent
5e4942bcc0
commit
7563af4906
3 changed files with 20 additions and 10 deletions
12
testing/btest/plugins/debug-streams-all.js
Normal file
12
testing/btest/plugins/debug-streams-all.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
* Verify that `-B all` leads to plugin debug stream content in debug.log.
|
||||
* This requires JavaScript and a debug build.
|
||||
* @TEST-REQUIRES: test "$($BUILD/zeek-config --build_type)" = "debug"
|
||||
* @TEST-REQUIRES: $SCRIPTS/have-javascript
|
||||
* @TEST-EXEC: zeek -b -B all %INPUT
|
||||
* @TEST-EXEC: grep -q '[plugin Zeek::JavaScript]' debug.log
|
||||
*/
|
||||
|
||||
zeek.on('zeek_init', () => {
|
||||
console.log('Hello Zeek!');
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue