1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00

test: Add a new integration test with minor dialogs

This patch adds a new integration test, which executes various small
dialogs, to cover corner cases that are not well covered (according to
our coverage report).

For example, "EHLO" without domain, or invalid DATA.

While we could do them via Go tests, this way is more realistic, and the
tests are easier to write.
This commit is contained in:
Alberto Bertogli
2018-02-25 02:50:39 +00:00
parent 5ce4ff2602
commit 61d2961ee9
15 changed files with 247 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
hostname: "testserver"
smtp_address: ":1025"
submission_address: ":1587"
submission_over_tls_address: ":1465"
monitoring_address: ":1099"
mail_delivery_agent_bin: "test-mda"
mail_delivery_agent_args: "%to%"
data_dir: "../.data"
mail_log_path: "../.logs/mail_log"
suffix_separators: "+-"
drop_characters: "._"