mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15: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
255 B
Text
16 lines
255 B
Text
#
|
|
# @TEST-EXEC: zeek -b %INPUT
|
|
|
|
event zeek_init()
|
|
{
|
|
local a = T;
|
|
local b = 12;
|
|
local c: table[string] of addr = { ["a"] = 192.168.0.2, ["b"] = 10.0.0.2 };
|
|
|
|
if ( val_size(a) > val_size(b) )
|
|
exit(1);
|
|
|
|
if ( val_size(b) > val_size(c) )
|
|
exit(1);
|
|
|
|
}
|