mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18:20 +00:00

This also installs symlinks from "zeek" and "bro-config" to a wrapper script that prints a deprecation warning. The btests pass, but this is still WIP. broctl renaming is still missing. #239
16 lines
294 B
Text
16 lines
294 B
Text
# @TEST-EXEC: zeek %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 zeek_init() {
|
|
print testopt;
|
|
print anotheropt;
|
|
}
|
|
|