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

14 lines
198 B
Plaintext

#
# @TEST-EXEC: zeek -b %INPUT >out
# @TEST-EXEC: btest-diff out
event zeek_init()
{
local a = "this is a test";
local b = "his";
local c = "are";
print strstr(a, b);
print strstr(a, c);
}