summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/dnszones-src/db.test.ex12
-rw-r--r--test/stdout/04053
2 files changed, 9 insertions, 6 deletions
diff --git a/test/dnszones-src/db.test.ex b/test/dnszones-src/db.test.ex
index ebf9a4021..ab1643452 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 used for its lookup ( π.test.ex )
+; A host with punycoded UTF-8 characters used for its lookup ( mx.π.test.ex )
-mx.xn--1xa A V4NET.255.255.255
+mx.xn--1xa A V4NET.255.255.255
; A non-standard name for localhost
@@ -358,9 +358,13 @@ mxt97 MX 1 ten-1.test.ex.
mxt1c MX 1 dontqualify.
-; MX with UTF-8 characters used for its lookup ( π.test.ex )
+; MX with punycoded UTF-8 characters used for its lookup ( π.test.ex )
-xn--1xa MX 0 mx.xn--1xa.test.ex.
+xn--1xa MX 0 mx.π.test.ex.
+
+; MX with actual UTF-8 characters in its name, for allow_utf8_domains mode test
+
+π MX 0 mx.xn--1xa.test.ex.
; -------- Testing SRV records --------
diff --git a/test/stdout/0405 b/test/stdout/0405
index f5b5dce41..8a0641056 100644
--- a/test/stdout/0405
+++ b/test/stdout/0405
@@ -1,5 +1,4 @@
syntax error: domain missing or malformed
-bounce@xn--1xa.test.ex
- <-- bounce@π.test.ex
+bounce@π.test.ex
router = r1, transport = t1
host mx.xn--1xa.test.ex [V4NET.255.255.255] MX=0