fix tests

This commit is contained in:
georglauterbach 2024-01-20 12:01:33 +01:00
parent 7f825835f4
commit 5622761c41
No known key found for this signature in database
GPG Key ID: F367F7C43C118578
2 changed files with 2 additions and 2 deletions

View File

@ -228,7 +228,7 @@ function _successful() {
@test "redirects mail to external aliases" {
_service_log_should_contain_string 'mail' 'Passed CLEAN {RelayedInbound}'
assert_output --partial '<user@external.tld> -> <external1@otherdomain.tld>'
run bash -c "grep '<user@external.tld> -> <external1@otherdomain.tld>' <<< '${output}'"
_should_output_number_of_lines 2
# assert_output --partial 'external.tld=user@example.test> -> <external1@otherdomain.tld>'
}

View File

@ -58,7 +58,7 @@ function teardown_file() { _default_teardown ; }
_service_log_should_not_contain_string 'mail' '\(!\)connect'
# Postfix: https://github.com/docker-mailserver/docker-mailserver/pull/2597
# Log line match example: https://github.com/docker-mailserver/docker-mailserver/pull/2598#issuecomment-1141176633
# Log line match example: https://github.com/docker-mailserver/docker-mailserver/pull/2598#issuecomment-1141176633
_service_log_should_not_contain_string 'mail' 'using backwards-compatible default setting'
# Postgrey: https://github.com/docker-mailserver/docker-mailserver/pull/612#discussion_r117635774