mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-02 17:14:31 +02:00
scripts: update log format (#4035)
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
This commit is contained in:
parent
95d965fb76
commit
f8b3f40276
6 changed files with 40 additions and 36 deletions
|
@ -44,7 +44,7 @@ function teardown_file() { _default_teardown ; }
|
|||
run docker logs "${CONTAINER_NAME}"
|
||||
assert_success
|
||||
for SERVICE in 'Amavis/SA' 'OpenDKIM' 'OpenDMARC' 'policyd-spf'; do
|
||||
assert_output --regexp ".*WARNING.*Running ${SERVICE} & Rspamd at the same time is discouraged"
|
||||
assert_output --regexp ".*WARN.*Running ${SERVICE} & Rspamd at the same time is discouraged"
|
||||
done
|
||||
}
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ function teardown() { _default_teardown ; }
|
|||
# Should emit a warning:
|
||||
run docker logs "${CONTAINER_NAME}"
|
||||
assert_success
|
||||
assert_output --partial '[ WARNING ] Using self-generated dhparams is considered insecure - unless you know what you are doing, please remove'
|
||||
assert_output --partial 'Using self-generated dhparams is considered insecure - unless you know what you are doing, please remove'
|
||||
}
|
||||
|
||||
# Ensures the docker image services (Postfix and Dovecot) have the expected DH files:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue