# @TEST-EXEC: bro -r $TRACES/smtp.trace %INPUT # @TEST-EXEC: btest-diff smtp_entities.log # @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-*-0.dat # @TEST-EXEC: test -e test-*-1.dat @load base/protocols/smtp redef SMTP::extract_file_types=/text\/plain/;