mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 11:08:20 +00:00

@DIR expands to directory path of the script, @FILENAME expands to just the script file name without path.
10 lines
305 B
Text
10 lines
305 B
Text
# @TEST-EXEC: bro -b %INPUT >out
|
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff out
|
|
# @TEST-EXEC: bro -b ./pathtest.bro >out2
|
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff out2
|
|
|
|
print @DIR;
|
|
|
|
@TEST-START-FILE pathtest.bro
|
|
print @DIR;
|
|
@TEST-END-FILE
|