mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
14 lines
301 B
Text
14 lines
301 B
Text
# @TEST-EXEC-FAIL: zeek -b -O ZAM --optimize-files=my_func %INPUT
|
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff .stderr
|
|
|
|
# Make sure that --optimize-func anchors the regex.
|
|
|
|
function my_func2()
|
|
{
|
|
print "I shouldn't match!";
|
|
}
|
|
|
|
event zeek_init()
|
|
{
|
|
print zeek_init;
|
|
}
|