mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
Testing/external scripts no longer compute MD5 checksums for SMTP
entities. Before, whether they did depended on libmagic. To do that, smpt/entities.bro gets a new option `never_calc_md5`. Also restructuring the tests a bit so that load a common testing-setup.bro scripts that can set a global configuration.
This commit is contained in:
parent
4bc18bd3f2
commit
9ee8a9f806
4 changed files with 19 additions and 4 deletions
6
testing/external/scripts/testing-setup.bro
vendored
Normal file
6
testing/external/scripts/testing-setup.bro
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Sets some testing specific options.
|
||||
|
||||
@ifdef ( SMTP::never_calc_md5 )
|
||||
# MDD5s can depend on libmagic output.
|
||||
redef SMTP::never_calc_md5 = T;
|
||||
@endif
|
Loading…
Add table
Add a link
Reference in a new issue