zeek/testing/btest/bifs/is_ascii.bro
2012-05-30 16:30:50 -05:00

12 lines
192 B
Text

#
# @TEST-EXEC: bro %INPUT >out
# @TEST-EXEC: btest-diff out
event bro_init()
{
local a = "this is a test\xfe";
local b = "this is a test\x7f";
print is_ascii(a);
print is_ascii(b);
}