zeek/testing/btest/core/option-redef.zeek
Jon Siwek 7967a5b0aa General btest cleanup
- Use `-b` most everywhere, it will save time.

- Start some intel tests upon the input file being fully read instead of
  at an arbitrary time.

- Improve termination condition for some sumstats/cluster tests.

- Filter uninteresting output from some supervisor tests.

- Test for `notice_policy.log` is no longer needed.
2020-08-11 11:26:22 -07:00

16 lines
297 B
Text

# @TEST-EXEC: zeek -b %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;
}