zeek/testing/external/scripts/testing-setup.bro
Robin Sommer 9ee8a9f806 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.
2011-09-15 15:42:10 -07:00

6 lines
158 B
Text

# Sets some testing specific options.
@ifdef ( SMTP::never_calc_md5 )
# MDD5s can depend on libmagic output.
redef SMTP::never_calc_md5 = T;
@endif