mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00

* origin/topic/robin/gh-239: Undo a change to btest.cfg from a recent commit Updating submodule. Fix zeek-wrapper Update for renaming BroControl to ZeekControl. Updating submodule. GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev.
21 lines
518 B
Text
21 lines
518 B
Text
#
|
|
# @TEST-EXEC: zeek -b %INPUT >out
|
|
# @TEST-EXEC: btest-diff out
|
|
|
|
event zeek_init()
|
|
{
|
|
local a: string_array = {
|
|
[1] = "this", [2] = "is", [3] = "a", [4] = "test"
|
|
};
|
|
local b: string_array = { [1] = "mytest" };
|
|
local c: string_vec = vector( "this", "is", "another", "test" );
|
|
local d: string_vec = vector( "Test" );
|
|
local e: string_vec = vector();
|
|
e[3] = "hi";
|
|
e[5] = "there";
|
|
|
|
print join_string_vec(c, "__");
|
|
print join_string_vec(c, "");
|
|
print join_string_vec(d, "-");
|
|
print join_string_vec(e, ".");
|
|
}
|