zeek/testing/btest/bifs/lookup_ID.bro
Jon Siwek 95ffb1cf27 Quick pass over unit tests, adding -b flag to bro so they run faster.
Doing this made bifs/ ~3x faster and language/ ~2x faster.
2012-11-30 17:44:36 -06:00

16 lines
275 B
Text

#
# @TEST-EXEC: bro -b %INPUT >out
# @TEST-EXEC: btest-diff out
global a = "bro test";
event bro_init()
{
local b = "local value";
print lookup_ID("a");
print lookup_ID("");
print lookup_ID("xyz");
print lookup_ID("b");
print type_name( lookup_ID("bro_init") );
}