git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Testsuite: also handle -XX in version
[users/jgh/exim.git]
/
test
/
dnszones-src
/
db.test.ex
diff --git
a/test/dnszones-src/db.test.ex
b/test/dnszones-src/db.test.ex
index bf0c2092c1b71d9dd7b97a904dafc3b782da27b8..843a35b090c8d01cc1a564ffad6c32749e6593f0 100644
(file)
--- a/
test/dnszones-src/db.test.ex
+++ b/
test/dnszones-src/db.test.ex
@@
-1,5
+1,3
@@
-; $Cambridge: exim/test/dnszones-src/db.test.ex,v 1.2 2006/02/14 16:18:14 ph10 Exp $
-
; This is a testing zone file for use when testing DNS handling in Exim. This
; is a fake zone of no real use - hence no SOA record. The zone name is
; test.ex. This file is passed through the substitution mechanism before being
; This is a testing zone file for use when testing DNS handling in Exim. This
; is a fake zone of no real use - hence no SOA record. The zone name is
; test.ex. This file is passed through the substitution mechanism before being
@@
-48,6
+46,16
@@
mx.π A V4NET.255.255.255
thishost A 127.0.0.1
thishost A 127.0.0.1
+; Something that gives both the IP and the loopback
+
+thisloop A HOSTIPV4
+ A 127.0.0.1
+
+; Something that gives an unreachable IP and the loopback
+
+badloop A V4NET.0.0.1
+ A 127.0.0.1
+
; Another host with both A and AAAA records
46 A V4NET.0.0.4
; Another host with both A and AAAA records
46 A V4NET.0.0.4
@@
-166,6
+174,11
@@
recurse.test.ex A V4NET.99.0.2
20.12.11.V4NET.rbl4 A 127.0.0.6
21.12.11.V4NET.rbl4 A 127.0.0.7
20.12.11.V4NET.rbl4 A 127.0.0.6
21.12.11.V4NET.rbl4 A 127.0.0.7
+22.12.11.V4NET.rbl4 A 127.0.0.128
+ TXT "This is a test blacklisting4 message"
+
+22.12.11.V4NET.rbl5 A 127.0.0.1
+ TXT "This is a test blacklisting5 message"
1.13.13.V4NET.rbl CNAME non-exist.test.ex.
2.13.13.V4NET.rbl A 127.0.0.1
1.13.13.V4NET.rbl CNAME non-exist.test.ex.
2.13.13.V4NET.rbl A 127.0.0.1
@@
-190,6
+203,12
@@
mx46466 MX 46 46.test.ex.
MX 46 46b.test.ex.
MX 46 v6.test.ex.
MX 46 46b.test.ex.
MX 46 v6.test.ex.
+; This time, change precedence
+
+mx46466b MX 46 46.test.ex.
+ MX 47 46b.test.ex.
+ MX 48 v6.test.ex.
+
; Points to a host with a working IPv4 and a non-working IPv6 record
mx46cd MX 10 46c.test.ex.
; Points to a host with a working IPv4 and a non-working IPv6 record
mx46cd MX 10 46c.test.ex.
@@
-291,6
+310,11
@@
mxt14 MX 4 ten-5-6.test.ex.
MX 5 ten-5.test.ex.
MX 6 ten-6.test.ex.
MX 5 ten-5.test.ex.
MX 6 ten-6.test.ex.
+; Non-local hosts with different precedence
+
+mxt15 MX 10 ten-1.test.ex.
+ MX 20 ten-2.test.ex.
+
; Large number of IP addresses at one MX value, and then some
; at another, to check that hosts_max_try tries the MX different
; values if it can.
; Large number of IP addresses at one MX value, and then some
; at another, to check that hosts_max_try tries the MX different
; values if it can.