mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00

This is a workaround for what seems to be a deadlock in gperftools (seen in their 2.0 and 2.1 releases) that happens occasionally.
15 lines
424 B
Text
15 lines
424 B
Text
# Needs perftools support.
|
|
#
|
|
# @TEST-REQUIRES: bro --help 2>&1 | grep -q mem-leaks
|
|
#
|
|
# @TEST-GROUP: leaks
|
|
#
|
|
# @TEST-EXEC: HEAP_CHECK_DUMP_DIRECTORY=. HEAPCHECK=local btest-bg-run bro bro -m -r $TRACES/http/get.trace $SCRIPTS/file-analysis-test.bro %INPUT
|
|
# @TEST-EXEC: btest-bg-wait 15
|
|
|
|
redef test_file_analysis_source = "HTTP";
|
|
|
|
redef test_get_file_name = function(f: fa_file): string
|
|
{
|
|
return fmt("%s-file", f$id);
|
|
};
|