mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-01-28 20:56:03 +00:00
test: Add a set of tests for handling bad/invalid configs
This patch adds a set of tests to validate chasquid's handling of bad and invalid configurations, to make sure we fail as expected.
This commit is contained in:
11
test/t-20-bad_configs/c-06-bad_maillog/chasquid.conf
Normal file
11
test/t-20-bad_configs/c-06-bad_maillog/chasquid.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
smtp_address: ":1025"
|
||||
submission_address: ":1587"
|
||||
submission_over_tls_address: ":1465"
|
||||
|
||||
mail_delivery_agent_bin: "test-mda"
|
||||
mail_delivery_agent_args: "%to%"
|
||||
|
||||
data_dir: "../.data"
|
||||
|
||||
# This is expected to be invalid, and impossible to mkdir.
|
||||
mail_log_path: "/sys/bad-dir/mail_log"
|
||||
Reference in New Issue
Block a user