mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +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
15 lines
428 B
Text
15 lines
428 B
Text
# Needs perftools support.
|
|
#
|
|
# @TEST-REQUIRES: zeek --help 2>&1 | grep -q mem-leaks
|
|
#
|
|
# @TEST-GROUP: leaks
|
|
#
|
|
# @TEST-EXEC: HEAP_CHECK_DUMP_DIRECTORY=. HEAPCHECK=local btest-bg-run zeek zeek -m -r $TRACES/http/get.trace $SCRIPTS/file-analysis-test.zeek %INPUT
|
|
# @TEST-EXEC: btest-bg-wait 60
|
|
|
|
redef test_file_analysis_source = "HTTP";
|
|
|
|
redef test_get_file_name = function(f: fa_file): string
|
|
{
|
|
return fmt("%s-file", f$id);
|
|
};
|