zeek/testing/btest/language/rec-of-tbl.bro
Jon Siwek 95ffb1cf27 Quick pass over unit tests, adding -b flag to bro so they run faster.
Doing this made bifs/ ~3x faster and language/ ~2x faster.
2012-11-30 17:44:36 -06:00

16 lines
202 B
Text

# @TEST-EXEC: bro -b %INPUT >output 2>&1
# @TEST-EXEC: btest-diff output
type x: record {
a: table[int] of count;
};
global y: x;
global yy: table[int] of count;
y$a = yy;
y$a[+5] = 3;
print y;