mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38: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
13 lines
254 B
Text
13 lines
254 B
Text
# @TEST-EXEC-FAIL: zeek -b %INPUT >out 2>&1
|
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff out
|
|
|
|
function switch_one(v: count): string
|
|
{
|
|
switch (v) {
|
|
case 42:
|
|
return "42!";
|
|
case type count:
|
|
return "Count!";
|
|
}
|
|
}
|
|
|