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

- Use `-b` most everywhere, it will save time. - Start some intel tests upon the input file being fully read instead of at an arbitrary time. - Improve termination condition for some sumstats/cluster tests. - Filter uninteresting output from some supervisor tests. - Test for `notice_policy.log` is no longer needed.
12 lines
368 B
Text
12 lines
368 B
Text
# @TEST-EXEC: zeek -b -C -r $TRACES/http/multipart.trace %INPUT
|
|
# @TEST-EXEC: btest-diff http.log
|
|
# @TEST-EXEC: cat extract_files/http-item-* | sort > extractions
|
|
|
|
@load base/protocols/http
|
|
@load base/files/extract
|
|
|
|
event file_new(f: fa_file)
|
|
{
|
|
local fname = fmt("http-item-%s", f$id);
|
|
Files::add_analyzer(f, Files::ANALYZER_EXTRACT, [$extract_filename=fname]);
|
|
}
|