summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-04-11 18:08:18 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2015-04-12 23:36:49 +0100
commit7019e10b7ab291e67b3499623547ea755098f972 (patch)
treebdfaaa01200dacd7e58ddba6afa62497a6a80047 /test
parent37bf366ed1fe8b579a2800b3593bc76294b3ecf2 (diff)
DNS lookups never use UTF-8
Diffstat (limited to 'test')
-rw-r--r--test/dnszones-src/db.test.ex8
-rw-r--r--test/stdout/04055
2 files changed, 7 insertions, 6 deletions
diff --git a/test/dnszones-src/db.test.ex b/test/dnszones-src/db.test.ex
index fec2a0d78..ebf9a4021 100644
--- a/test/dnszones-src/db.test.ex
+++ b/test/dnszones-src/db.test.ex
@@ -38,9 +38,9 @@ dontqualify A V4NET.255.255.254
UpperCase A 127.0.0.1
-; A host with UTF-8 characters in its name
+; A host with UTF-8 characters used for its lookup ( π.test.ex )
-mx.π A V4NET.255.255.255
+mx.xn--1xa A V4NET.255.255.255
; A non-standard name for localhost
@@ -358,9 +358,9 @@ mxt97 MX 1 ten-1.test.ex.
mxt1c MX 1 dontqualify.
-; MX with UTF-8 characters in its name
+; MX with UTF-8 characters used for its lookup ( π.test.ex )
-π MX 0 mx.π.test.ex.
+xn--1xa MX 0 mx.xn--1xa.test.ex.
; -------- Testing SRV records --------
diff --git a/test/stdout/0405 b/test/stdout/0405
index 6b561f74f..f5b5dce41 100644
--- a/test/stdout/0405
+++ b/test/stdout/0405
@@ -1,4 +1,5 @@
syntax error: domain missing or malformed
-bounce@π.test.ex
+bounce@xn--1xa.test.ex
+ <-- bounce@π.test.ex
router = r1, transport = t1
- host mx.π.test.ex [V4NET.255.255.255] MX=0
+ host mx.xn--1xa.test.ex [V4NET.255.255.255] MX=0