mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00

This also installs symlinks from "zeek" and "bro-config" to a wrapper script that prints a deprecation warning. The btests pass, but this is still WIP. broctl renaming is still missing. #239
21 lines
340 B
Text
21 lines
340 B
Text
# @TEST-EXEC-FAIL: zeek -b a.zeek >output1 2>&1
|
|
# @TEST-EXEC-FAIL: zeek -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 zeek_init()
|
|
{
|
|
print "a";
|
|
@TEST-END-FILE
|
|
|
|
@TEST-START-FILE b.zeek
|
|
module B;
|
|
|
|
event zeek_init()
|
|
{
|
|
print "b";
|
|
}
|
|
@TEST-END-FILE
|