Merge pull request #1324 from ap-wtioit/master-fix_fetchmail_test_domain

fix: fix test setup.sh debug fetchmail on wildcard domains
This commit is contained in:
Erik Wramner 2019-11-13 09:54:44 +01:00 committed by GitHub
commit 60a7b07d15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -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'

View File

@ -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