Add tests for e-mail actions, and cleanup the new logic a bit.

This commit is contained in:
Vlad Grigorescu 2021-04-26 23:01:34 -05:00
parent 6d0f48abfc
commit ac720a1313
17 changed files with 353 additions and 16 deletions

View file

@ -0,0 +1,37 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
------- cmdline args -----------
-t -oi
----------- stdin --------------
From: Zeek <zeek@localhost>
Subject: [Zeek] Test_Notice
To: page@example.net
User-Agent: Zeek/$zeek_version()
Message: test
Email Extensions
----------------
--
[Automatically generated]
------- cmdline args -----------
-t -oi
----------- stdin --------------
From: Zeek <zeek@localhost>
Subject: [Zeek] Test_Notice
To: user@example.net
User-Agent: Zeek/$zeek_version()
Message: test
Email Extensions
----------------
--
[Automatically generated]