diff --git a/test/tests.bats b/test/tests.bats index 0e48f53a..448f35fb 100644 --- a/test/tests.bats +++ b/test/tests.bats @@ -216,10 +216,11 @@ function count_processed_changes() { assert_success } +# This fails on debian buster, improve test @test "checking smtp: delivers mail to existing account" { - run docker exec mail /bin/sh -c "grep 'postfix/lmtp' /var/log/mail/mail.log | grep 'status=sent' | grep ' Saved)' | wc -l" + run docker exec mail /bin/sh -c "grep 'postfix/lmtp' /var/log/mail/mail.log | grep 'status=sent' | grep ' Saved)' | sed 's/.* to=; 6 ; 1 , orig_to=; 1 , orig_to=; 1 ; 2 ;" } @test "checking smtp: delivers mail to existing alias" {