zeek/testing/btest/opt/opt-files.zeek
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

17 lines
313 B
Plaintext

# @TEST-REQUIRES: test "${ZEEK_USE_CPP}" != "1"
# @TEST-EXEC: zeek -b -O ZAM --optimize-files='opt-files' %INPUT >output
# @TEST-EXEC: btest-diff output
# Tests that we can selectively pick this file.
function my_test()
{
print "I should be ZAM code!";
}
event zeek_init()
{
my_test();
print my_test;
}