Gitweb:
https://git.exim.org/exim.git/commitdiff/99b77795df1176451af94f70ed8683364b972489
Commit: 99b77795df1176451af94f70ed8683364b972489
Parent: 27085351db1c6cdbbea742a1da15a3e3e912a844
Author: Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Sep 1 23:45:43 2019 +0100
Committer: Jeremy Harris <jgh146exb@???>
CommitDate: Sun Sep 1 23:45:43 2019 +0100
Testsuite: keep noqualify testcase from using external DNS
---
test/dnszones-src/db.dontqualify | 5 +++++
test/stderr/0469 | 9 ++++-----
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/test/dnszones-src/db.dontqualify b/test/dnszones-src/db.dontqualify
new file mode 100644
index 0000000..f51ad36
--- /dev/null
+++ b/test/dnszones-src/db.dontqualify
@@ -0,0 +1,5 @@
+; This is a testing zone file for use when testing DNS handling in Exim. This
+; is a fake zone of no real use. The zone name is dontqualify.
+
+NXDOMAIN dontqualify. A 127.0.0.1
+; End
diff --git a/test/stderr/0469 b/test/stderr/0469
index 915bd5a..bf37946 100644
--- a/test/stderr/0469
+++ b/test/stderr/0469
@@ -21,11 +21,10 @@ r1 router called for x@???
DNS lookup of mxt1c.test.ex (MX) using fakens
DNS lookup of mxt1c.test.ex (MX) succeeded
DNS lookup of dontqualify (A) using fakens
-fakens returned PASS_ON
-passing dontqualify on to res_search()
-DNS lookup of dontqualify (A) gave HOST_NOT_FOUND
-returning DNS_NOMATCH
- writing neg-cache entry for dontqualify-A-xxxx, ttl 86400
+DNS lookup of dontqualify (A) gave NO_DATA
+returning DNS_NODATA
+DNS: no SOA record found for neg-TTL
+ writing neg-cache entry for dontqualify-A-xxxx, ttl -1
fully qualified name = mxt1c.test.ex
host_find_bydns yield = HOST_FIND_FAILED (0); returned hosts:
dontqualify <null> MX=1 *