mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Use .zeek file suffix in unit tests
This commit is contained in:
parent
93d384adeb
commit
1e57e3f026
862 changed files with 533 additions and 529 deletions
21
testing/btest/language/eof-parse-errors.zeek
Normal file
21
testing/btest/language/eof-parse-errors.zeek
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue