mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08: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
|
@ -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