mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
13 lines
218 B
Text
13 lines
218 B
Text
#
|
|
# @TEST-EXEC: zeek -b %INPUT >out
|
|
# @TEST-EXEC: btest-diff out
|
|
|
|
event zeek_init()
|
|
{
|
|
local a = "this is a test\xfe";
|
|
local b = "this is a test\x7f";
|
|
|
|
print is_ascii(a);
|
|
print is_ascii(b);
|
|
print is_ascii("");
|
|
}
|