mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
14 lines
464 B
Text
14 lines
464 B
Text
# Skip this test when using ZAM, as it will generate a hard error (since it's
|
|
# certain that the variable is used w/o initialization) rather than just
|
|
# a warning.
|
|
# @TEST-REQUIRES: test "${ZEEK_ZAM}" != "1"
|
|
#
|
|
# @TEST-DOC: ``zeek -a -u`` should detect usage issues without executing code
|
|
# @TEST-EXEC: zeek -b -a -u %INPUT >out 2>&1
|
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff out
|
|
|
|
event zeek_init()
|
|
{
|
|
local a: count;
|
|
print a;
|
|
}
|