From: Jeremy Harris Date: Sun, 1 Sep 2019 22:45:43 +0000 (+0100) Subject: Testsuite: keep noqualify testcase from using external DNS X-Git-Tag: exim-4.93-RC0~85 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=99b77795df1176451af94f70ed8683364b972489;p=exim.git Testsuite: keep noqualify testcase from using external DNS --- diff --git a/test/dnszones-src/db.dontqualify b/test/dnszones-src/db.dontqualify new file mode 100644 index 000000000..f51ad360c --- /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 915bd5ab2..bf37946ac 100644 --- a/test/stderr/0469 +++ b/test/stderr/0469 @@ -21,11 +21,10 @@ r1 router called for x@mxt1c.test.ex 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 MX=1 *