fix tests
This commit is contained in:
parent
7f825835f4
commit
5622761c41
|
@ -228,7 +228,7 @@ function _successful() {
|
||||||
|
|
||||||
@test "redirects mail to external aliases" {
|
@test "redirects mail to external aliases" {
|
||||||
_service_log_should_contain_string 'mail' 'Passed CLEAN {RelayedInbound}'
|
_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
|
_should_output_number_of_lines 2
|
||||||
# assert_output --partial 'external.tld=user@example.test> -> <external1@otherdomain.tld>'
|
# assert_output --partial 'external.tld=user@example.test> -> <external1@otherdomain.tld>'
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,7 +58,7 @@ function teardown_file() { _default_teardown ; }
|
||||||
_service_log_should_not_contain_string 'mail' '\(!\)connect'
|
_service_log_should_not_contain_string 'mail' '\(!\)connect'
|
||||||
|
|
||||||
# Postfix: https://github.com/docker-mailserver/docker-mailserver/pull/2597
|
# 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'
|
_service_log_should_not_contain_string 'mail' 'using backwards-compatible default setting'
|
||||||
|
|
||||||
# Postgrey: https://github.com/docker-mailserver/docker-mailserver/pull/612#discussion_r117635774
|
# Postgrey: https://github.com/docker-mailserver/docker-mailserver/pull/612#discussion_r117635774
|
||||||
|
|
Loading…
Reference in New Issue