mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
testing/missing-enum-value: redef exit_only_after_terminate=T
Seems this was the intention all along as the corresponding terminate() call is there.
This commit is contained in:
parent
11cde53373
commit
07f1895925
2 changed files with 6 additions and 1 deletions
|
@ -3,3 +3,4 @@ warning: Value 'asdf' for source 'thread ../configfile/Input::READER_CONFIG' is
|
|||
error: SendEvent for event InputConfig::new_value failed
|
||||
warning: Value '1234' for source 'thread ../configfile/Input::READER_CONFIG' is not a valid enum.
|
||||
error: SendEvent for event InputConfig::new_value failed
|
||||
received termination signal
|
||||
|
|
|
@ -13,6 +13,8 @@ no_color_vec
|
|||
|
||||
@load base/frameworks/config
|
||||
|
||||
redef exit_only_after_terminate=T;
|
||||
|
||||
type Color: enum { Red, Green, Blue, };
|
||||
|
||||
option mycolors = set(Red, Green);
|
||||
|
@ -23,7 +25,9 @@ option bad_color_vec: vector of Color = { Red };
|
|||
option no_color_vec: vector of Color = { Red };
|
||||
|
||||
event zeek_init()
|
||||
{ Config::read_config("../configfile"); }
|
||||
{
|
||||
Config::read_config("../configfile");
|
||||
}
|
||||
|
||||
event Input::end_of_data(name: string, source:string)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue