mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18:20 +00:00
General btest cleanup
- 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.
This commit is contained in:
parent
670bf02c95
commit
7967a5b0aa
350 changed files with 1139 additions and 638 deletions
|
@ -1,6 +1,7 @@
|
|||
# @TEST-EXEC: zeek -r $TRACES/http/get.trace %INPUT
|
||||
# @TEST-EXEC: zeek -b -r $TRACES/http/get.trace %INPUT
|
||||
# @TEST-EXEC: btest-diff .stdout
|
||||
|
||||
@load base/protocols/http
|
||||
|
||||
event file_new(f: fa_file)
|
||||
{
|
||||
|
@ -10,4 +11,4 @@ event file_new(f: fa_file)
|
|||
event file_entropy(f: fa_file, ent: entropy_test_result)
|
||||
{
|
||||
print ent;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue