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

17 lines
296 B
Plaintext

#
# @TEST-EXEC: zeek -b %INPUT >out
# @TEST-EXEC: btest-diff out
event zeek_init()
{
local a = "test ";
local b = string_fill(1, a);
local c = string_fill(2, a);
local d = string_fill(10, a);
print fmt("*%s* %d", b, |b|);
print fmt("*%s* %d", c, |c|);
print fmt("*%s* %d", d, |d|);
}