diff --git a/test/config/fetchmail.cf b/test/config/fetchmail.cf index 59ce814a..e4a3c414 100644 --- a/test/config/fetchmail.cf +++ b/test/config/fetchmail.cf @@ -1,4 +1,4 @@ -poll pop3.example.com with proto POP3 +poll pop3.example.com. with proto POP3 user 'username' there with password 'secret' is 'user2@domain.tld' diff --git a/test/tests.bats b/test/tests.bats index f73d37fe..79ce97dc 100644 --- a/test/tests.bats +++ b/test/tests.bats @@ -1086,8 +1086,7 @@ function count_processed_changes() { @test "checking setup.sh: setup.sh debug fetchmail" { run ./setup.sh -c mail debug fetchmail [ "$status" -eq 11 ] -# TODO: Fix output check -# [ "$output" = "fetchmail: no mailservers have been specified." ] + [[ "$output" == *"fetchmail: normal termination, status 11"* ]] } @test "checking setup.sh: setup.sh debug inspect" { run ./setup.sh -c mail debug inspect