mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00

This is based on commit 2731def9159247e6da8a3191783c89683363689c from the zeek-docs repo.
18 lines
301 B
Text
18 lines
301 B
Text
event test_1() {
|
|
assert 3 == 3;
|
|
local x = 37;
|
|
assert x > 40;
|
|
print "not reached";
|
|
}
|
|
|
|
event test_2() {
|
|
assert 2 == 2;
|
|
local x = 37;
|
|
assert x > 40, fmt("%s is not greater than 40", x);
|
|
print "not reached";
|
|
}
|
|
|
|
event zeek_init() {
|
|
schedule 0.01sec { test_1() };
|
|
schedule 0.02sec { test_2() };
|
|
}
|