Fixing tests.

Part of this involves making the file-analysis tests independent of
specific hash values. I've done that only partially though.
This commit is contained in:
Robin Sommer 2013-05-17 18:09:59 -07:00
parent 7b50f97d39
commit 4ccd6d76fd
48 changed files with 294 additions and 197 deletions

View file

@ -1,10 +1,12 @@
# @TEST-EXEC: bro -r $TRACES/smtp.trace %INPUT
# @TEST-EXEC: btest-diff smtp_entities.log
# @TEST-EXEC: btest-diff smtp-entity-cwR7l6Zctxb-0.dat
# @TEST-EXEC: btest-diff smtp-entity-Ltd7QO7jEv3-1.dat
# @TEST-EXEC: mv smtp-entity-*-0.dat smtp-entity-0.dat
# @TEST-EXEC: mv smtp-entity-*-1.dat smtp-entity-1.dat
# @TEST-EXEC: btest-diff smtp-entity-0.dat
# @TEST-EXEC: btest-diff smtp-entity-1.dat
# @TEST-EXEC: bro -r $TRACES/smtp.trace %INPUT SMTP::extraction_prefix="test"
# @TEST-EXEC: test -e test-cwR7l6Zctxb-0.dat
# @TEST-EXEC: test -e test-Ltd7QO7jEv3-1.dat
# @TEST-EXEC: test -e test-*-0.dat
# @TEST-EXEC: test -e test-*-1.dat
@load base/protocols/smtp