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:
commit
60a7b07d15
|
@ -1,4 +1,4 @@
|
||||||
poll pop3.example.com with proto POP3
|
poll pop3.example.com. with proto POP3
|
||||||
user 'username' there with
|
user 'username' there with
|
||||||
password 'secret'
|
password 'secret'
|
||||||
is 'user2@domain.tld'
|
is 'user2@domain.tld'
|
||||||
|
|
|
@ -1086,8 +1086,7 @@ function count_processed_changes() {
|
||||||
@test "checking setup.sh: setup.sh debug fetchmail" {
|
@test "checking setup.sh: setup.sh debug fetchmail" {
|
||||||
run ./setup.sh -c mail debug fetchmail
|
run ./setup.sh -c mail debug fetchmail
|
||||||
[ "$status" -eq 11 ]
|
[ "$status" -eq 11 ]
|
||||||
# TODO: Fix output check
|
[[ "$output" == *"fetchmail: normal termination, status 11"* ]]
|
||||||
# [ "$output" = "fetchmail: no mailservers have been specified." ]
|
|
||||||
}
|
}
|
||||||
@test "checking setup.sh: setup.sh debug inspect" {
|
@test "checking setup.sh: setup.sh debug inspect" {
|
||||||
run ./setup.sh -c mail debug inspect
|
run ./setup.sh -c mail debug inspect
|
||||||
|
|
Loading…
Reference in New Issue