mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 13:38:19 +00:00

This is based on commit 99e6942efec5feff50523f6b2a1f5868f19ab638 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() };
|
|
}
|