diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2020-04-21 23:17:53 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-04-22 00:31:07 +0100 |
commit | 7e26c2f6e641307f44c7a0c88def1d43f3e67eab (patch) | |
tree | 6b2bf10adac3a2d279eac90313c48bffb6c76793 /test/stderr | |
parent | dce58c04af4439fec7269f83886e22b503756a8f (diff) |
Testsuite: use name for nonexistent host that the testsuite forces to not-resolve
Avoids going to the plaform resolver, which can have varying behaviour
Diffstat (limited to 'test/stderr')
-rw-r--r-- | test/stderr/0069 | 28 | ||||
-rw-r--r-- | test/stderr/0401 | 6 |
2 files changed, 17 insertions, 17 deletions
diff --git a/test/stderr/0069 b/test/stderr/0069 index dd1e82234..619c7f171 100644 --- a/test/stderr/0069 +++ b/test/stderr/0069 @@ -61,10 +61,10 @@ LOG: failed to find host name for V4NET.0.0.13: accepted by +include_unknown >>> host in helo_accept_junk_hosts? no (option unset) >>> using ACL "check_recipienty" >>> processing "accept" (TESTSUITE/test-config 30) ->>> check hosts = non.existent.invalid : V4NET.0.0.13 ->>> no IP address found for host non.existent.invalid (during SMTP connection from [V4NET.0.0.13]) -LOG: no IP address found for host non.existent.invalid (during SMTP connection from [V4NET.0.0.13]) ->>> host in "non.existent.invalid : V4NET.0.0.13"? no (failed to find IP address for non.existent.invalid) +>>> check hosts = not-exist.test.ex : V4NET.0.0.13 +>>> no IP address found for host not-exist.test.ex (during SMTP connection from [V4NET.0.0.13]) +LOG: no IP address found for host not-exist.test.ex (during SMTP connection from [V4NET.0.0.13]) +>>> host in "not-exist.test.ex : V4NET.0.0.13"? no (failed to find IP address for not-exist.test.ex) >>> accept: condition test failed in ACL "check_recipienty" >>> processing "deny" (TESTSUITE/test-config 31) >>> message: "Denied" @@ -85,11 +85,11 @@ LOG: failed to find host name for V4NET.0.0.13: accepted by +include_unknown >>> host in helo_accept_junk_hosts? no (option unset) >>> using ACL "check_recipientz" >>> processing "accept" (TESTSUITE/test-config 34) ->>> check hosts = +ignore_unknown : non.existent.invalid : V4NET.0.0.13 ->>> no IP address found for host non.existent.invalid (during SMTP connection from [V4NET.0.0.13]) -LOG: no IP address found for host non.existent.invalid (during SMTP connection from [V4NET.0.0.13]) ->>> failed to find IP address for non.existent.invalid: item ignored by +ignore_unknown ->>> host in "+ignore_unknown : non.existent.invalid : V4NET.0.0.13"? yes (matched "V4NET.0.0.13") +>>> check hosts = +ignore_unknown : not-exist.test.ex : V4NET.0.0.13 +>>> no IP address found for host not-exist.test.ex (during SMTP connection from [V4NET.0.0.13]) +LOG: no IP address found for host not-exist.test.ex (during SMTP connection from [V4NET.0.0.13]) +>>> failed to find IP address for not-exist.test.ex: item ignored by +ignore_unknown +>>> host in "+ignore_unknown : not-exist.test.ex : V4NET.0.0.13"? yes (matched "V4NET.0.0.13") >>> accept: condition test succeeded in ACL "check_recipientz" >>> end of ACL "check_recipientz": ACCEPT >>> host in hosts_connection_nolog? no (option unset) @@ -106,11 +106,11 @@ LOG: failed to find host name for V4NET.0.0.13: accepted by +include_unknown >>> host in helo_accept_junk_hosts? no (option unset) >>> using ACL "check_recipienty" >>> processing "accept" (TESTSUITE/test-config 30) ->>> check hosts = non.existent.invalid : V4NET.0.0.13 ->>> no IP address found for host non.existent.invalid (during SMTP connection from [V4NET.0.0.13]) -LOG: no IP address found for host non.existent.invalid (during SMTP connection from [V4NET.0.0.13]) ->>> host in "non.existent.invalid : V4NET.0.0.13"? no (failed to find IP address for non.existent.invalid) -LOG: list matching forced to fail: failed to find IP address for non.existent.invalid +>>> check hosts = not-exist.test.ex : V4NET.0.0.13 +>>> no IP address found for host not-exist.test.ex (during SMTP connection from [V4NET.0.0.13]) +LOG: no IP address found for host not-exist.test.ex (during SMTP connection from [V4NET.0.0.13]) +>>> host in "not-exist.test.ex : V4NET.0.0.13"? no (failed to find IP address for not-exist.test.ex) +LOG: list matching forced to fail: failed to find IP address for not-exist.test.ex >>> accept: condition test failed in ACL "check_recipienty" >>> processing "deny" (TESTSUITE/test-config 31) >>> message: "Denied" diff --git a/test/stderr/0401 b/test/stderr/0401 index 3a0e221cb..aafec8ed9 100644 --- a/test/stderr/0401 +++ b/test/stderr/0401 @@ -16,9 +16,9 @@ >>> using ACL "mail" >>> processing "accept" (TESTSUITE/test-config 24) >>> check hosts = TESTSUITE/aux-var/0401.hosts2 ->>> no IP address found for host a2.2.2 (during SMTP connection from (xxx) [V4NET.9.8.7]) -LOG: no IP address found for host a2.2.2 (during SMTP connection from (xxx) [V4NET.9.8.7]) ->>> host in "TESTSUITE/aux-var/0401.hosts2"? no (failed to find IP address for a2.2.2) +>>> no IP address found for host not-exist.test.ex (during SMTP connection from (xxx) [V4NET.9.8.7]) +LOG: no IP address found for host not-exist.test.ex (during SMTP connection from (xxx) [V4NET.9.8.7]) +>>> host in "TESTSUITE/aux-var/0401.hosts2"? no (failed to find IP address for not-exist.test.ex) >>> accept: condition test failed in ACL "mail" >>> end of ACL "mail": implicit DENY LOG: H=(xxx) [V4NET.9.8.7] rejected MAIL <x@y> |