summaryrefslogtreecommitdiff
path: root/test/scripts/5300-ipliteral
diff options
context:
space:
mode:
Diffstat (limited to 'test/scripts/5300-ipliteral')
-rw-r--r--test/scripts/5300-ipliteral/530023
-rw-r--r--test/scripts/5300-ipliteral/530114
-rw-r--r--test/scripts/5300-ipliteral/REQUIRES1
3 files changed, 38 insertions, 0 deletions
diff --git a/test/scripts/5300-ipliteral/5300 b/test/scripts/5300-ipliteral/5300
new file mode 100644
index 000000000..fba34c471
--- /dev/null
+++ b/test/scripts/5300-ipliteral/5300
@@ -0,0 +1,23 @@
+# domain literals (IPv4)
+need_ipv4
+#
+exim -bt x@[V4NET.9.8.7] x@[127.0.0.1]
+****
+1
+exim -DALLOW=false -odq -f 'x@[10.9.8.7]' zz
+****
+0
+exim -odq -f 'y@[10.9.8.7]' zz
+****
+0
+exim -bp
+****
+0
+exim -odq -bs
+MAIL FROM:<>
+RCPT TO:<x@[1.2.3.4]>
+RCPT TO:<x@[ipv4:1.2.3.4]>
+quit
+****
+no_msglog_check
+
diff --git a/test/scripts/5300-ipliteral/5301 b/test/scripts/5300-ipliteral/5301
new file mode 100644
index 000000000..300b4f0d0
--- /dev/null
+++ b/test/scripts/5300-ipliteral/5301
@@ -0,0 +1,14 @@
+# domain literals (IPv6)
+need_ipv6
+#
+exim -bt x@[abcd::dcba] x@[IPv6:cba::abc]
+****
+exim -DD6=disable_ipv6 -bt x@[abcd::dcba] x@[IPv6:cba::abc]
+****
+0
+exim -odq -bs
+MAIL FROM:<>
+RCPT TO:<x@[3ffe:ffff:836f:0a00:000a:0800:200a:c031]>
+RCPT TO:<x@[ipv6:3ffe:ffff:836f:0a00:000a:0800:200a:c031]>
+quit
+****
diff --git a/test/scripts/5300-ipliteral/REQUIRES b/test/scripts/5300-ipliteral/REQUIRES
new file mode 100644
index 000000000..fde468626
--- /dev/null
+++ b/test/scripts/5300-ipliteral/REQUIRES
@@ -0,0 +1 @@
+router ipliteral