mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00

Part of this involves making the file-analysis tests independent of specific hash values. I've done that only partially though.
13 lines
508 B
Text
13 lines
508 B
Text
# @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/;
|