try #2 to fix tests

This commit is contained in:
Thorsten von Eicken 2016-05-23 22:23:54 -07:00
parent cf6d9a4409
commit c8169c0a34
1 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@
@test "checking smtp: delivers mail to existing account" { @test "checking smtp: delivers mail to existing account" {
run docker exec mail /bin/sh -c "grep 'status=sent (delivered via dovecot service)' /var/log/mail/mail.log | wc -l" run docker exec mail /bin/sh -c "grep 'status=sent (delivered via dovecot service)' /var/log/mail/mail.log | wc -l"
[ "$status" -eq 0 ] [ "$status" -eq 0 ]
[ "$output" -eq 3 ] [ "$output" -eq 4 ]
} }
@test "checking smtp: delivers mail to existing alias" { @test "checking smtp: delivers mail to existing alias" {
@ -161,7 +161,7 @@
@test "checking smtp: redirects mail to external aliases" { @test "checking smtp: redirects mail to external aliases" {
run docker exec mail /bin/sh -c "grep -- '-> <external1@otherdomain.tld>' /var/log/mail/mail.log | wc -l" run docker exec mail /bin/sh -c "grep -- '-> <external1@otherdomain.tld>' /var/log/mail/mail.log | wc -l"
[ "$status" -eq 0 ] [ "$status" -eq 0 ]
[ "$output" = 1 ] [ "$output" = 2 ]
} }
@test "checking smtp: rejects spam" { @test "checking smtp: rejects spam" {