Merge pull request #1238 from martin-schulze-vireso/feature/modularize_tests2

WIP: Modularize more tests
This commit is contained in:
Erik Wramner 2019-08-22 08:44:20 +02:00 committed by GitHub
commit 9794fbb21b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -21,6 +21,6 @@ function teardown() {
#
@test "checking default relay host: default relay host is added to main.cf" {
run docker exec mail_with_default_relay /bin/sh -c 'grep -e "^relayhost = default.relay.host.invalid:25" /etc/postfix/main.cf | wc -l | grep 1'
assert_success
run docker exec mail_with_default_relay /bin/sh -c 'grep -e "^relayhost =" /etc/postfix/main.cf'
assert_output 'relayhost = default.relay.host.invalid:25'
}