mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
![]() it is a bit of a special case. It is only called via the SendEvent function from a reader. The reader does (at least with the current interface) however not provide the function pointer, but looks up the name of the event dynamically. Hence, internal_handler is never called for the event. Even if resolving the event in the reader, e.g. in an initialization function, this would not solve the issue - the initialization function is only called when the first Raw reader is initialized - and in the base configuration the raw reader will never be used (hence, internal_handler also won't be called). Calling it once in the manager seems like a really dirty hack. So - now it is the second exception in the testcase, unless anyone has a better idea :) |
||
---|---|---|
.. | ||
btest | ||
external | ||
scripts | ||
.gitignore | ||
Makefile | ||
README |
This directory contains suites for testing for Bro's correct operation: btest/ An ever-growing set of small unit tests testing Bro's functionality. external/ A framework for downloading additional test sets that run more complex Bro configuration on larger traces files. Due to their size, these are not included directly. See the README for more information. scripts/ Helpers scripts used by some tests.