zeek/testing/btest/language/wrong-record-extension.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

14 lines
277 B
Text

# @TEST-EXEC-FAIL: bro -b %INPUT >output.tmp 2>&1
# @TEST-EXEC: sed 's#^.*:##g' <output.tmp >output
# @TEST-EXEC: btest-diff output
type Foo: record {
a: count;
b: count &optional;
};
redef record Foo += {
c: count;
d: string &optional;
};