This commit is contained in:
Vern Paxson 2021-09-07 10:21:50 -07:00
parent 0746ef7ecc
commit 87fce26a0b
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,8 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
[, foo, bar, , baz]
1
2
4
foo
bar
baz

View file

@ -0,0 +1,20 @@
# @TEST-EXEC: zeek -b %INPUT >out
# @TEST-EXEC: btest-diff out
event zeek_init()
{
local v: vector of string;
v[1] = "foo";
v[2] = "bar";
v[4] = "baz";
print v;
for ( idx in v )
print idx;
for ( idx in v )
print v[idx];
}