diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2019-09-01 23:45:43 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2019-09-01 23:45:43 +0100 |
commit | 99b77795df1176451af94f70ed8683364b972489 (patch) | |
tree | b629ab5816fea2fc602837bf9cb2f1c632f65608 /test | |
parent | 27085351db1c6cdbbea742a1da15a3e3e912a844 (diff) |
Testsuite: keep noqualify testcase from using external DNS
Diffstat (limited to 'test')
-rw-r--r-- | test/dnszones-src/db.dontqualify | 5 | ||||
-rw-r--r-- | 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 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 <null> MX=1 * |