mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +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
18 lines
332 B
Text
18 lines
332 B
Text
# A test of relative-path-based @load'ing
|
|
|
|
# @TEST-EXEC: zeek -b foo/foo >output
|
|
# @TEST-EXEC: btest-diff output
|
|
|
|
@TEST-START-FILE foo/foo.zeek
|
|
@load ./bar
|
|
@load ../baz
|
|
print "foo loaded";
|
|
@TEST-END-FILE
|
|
|
|
@TEST-START-FILE foo/bar.zeek
|
|
print "bar loaded";
|
|
@TEST-END-FILE
|
|
|
|
@TEST-START-FILE baz.zeek
|
|
print "baz loaded";
|
|
@TEST-END-FILE
|