Use .zeek file suffix in unit tests

This commit is contained in:
Jon Siwek 2019-04-16 16:07:49 -07:00
parent 93d384adeb
commit 1e57e3f026
862 changed files with 533 additions and 529 deletions

View file

@ -0,0 +1,21 @@
# @TEST-EXEC-FAIL: bro -b a.zeek >output1 2>&1
# @TEST-EXEC-FAIL: bro -b a.zeek b.zeek >output2 2>&1
# @TEST-EXEC: btest-diff output1
# @TEST-EXEC: btest-diff output2
@TEST-START-FILE a.zeek
module A;
event bro_init()
{
print "a";
@TEST-END-FILE
@TEST-START-FILE b.zeek
module B;
event bro_init()
{
print "b";
}
@TEST-END-FILE