From a66b2bff0c83fe3bf8b64f4d4e2248b77ab8262f Mon Sep 17 00:00:00 2001 From: Erik Wramner Date: Sat, 18 Jan 2020 21:01:24 +0100 Subject: [PATCH] Make test result easier to evaluate --- test/tests.bats | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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" {