zeek/testing/btest/Baseline/core.check-unused-event-handlers
Bernhard Amann ebb7af1483 this event handler fails the unused-event-handlers test because
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 :)
2013-06-09 16:18:17 -04:00
..
.stderr this event handler fails the unused-event-handlers test because 2013-06-09 16:18:17 -04:00