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:
Robin Sommer 2011-09-15 15:35:58 -07:00
parent 4bc18bd3f2
commit 9ee8a9f806
4 changed files with 19 additions and 4 deletions

View file

@ -1,2 +1,6 @@
@TEST-EXEC: zcat $TRACES/test.trace.gz | bro -r - test-all-policy
@TEST-EXEC: $SCRIPTS/diff-all *.log
# @TEST-EXEC: zcat $TRACES/trace.gz | bro -r - %INPUT
# @TEST-EXEC: $SCRIPTS/diff-all *.log
@load testing-setup
@load test-all-policy