mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
16 lines
292 B
Text
16 lines
292 B
Text
# @TEST-EXEC: bro %INPUT
|
|
# @TEST-EXEC: btest-diff .stdout
|
|
|
|
# options are allowed to be redef-able.
|
|
# And they are even redef-able by default.
|
|
|
|
option testopt = 5 &redef;
|
|
redef testopt = 6;
|
|
option anotheropt = 6;
|
|
redef anotheropt = 7;
|
|
|
|
event bro_init() {
|
|
print testopt;
|
|
print anotheropt;
|
|
}
|
|
|