summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-08-14 20:28:02 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2014-08-14 20:28:02 +0100
commitf652fa8083925080b92b02897f1ee872ff2d3bba (patch)
tree0a945a4383d86246f3d303e3efeda7ca6a0a4ac0 /test/scripts
parenta0a2d1eea23b7fd28d4fc85672ed3210926bdbab (diff)
Add testcase for TLSA record access
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/5890-DANE/589012
-rw-r--r--test/scripts/5890-DANE/REQUIRES2
2 files changed, 14 insertions, 0 deletions
diff --git a/test/scripts/5890-DANE/5890 b/test/scripts/5890-DANE/5890
new file mode 100644
index 000000000..fd7b6d6d3
--- /dev/null
+++ b/test/scripts/5890-DANE/5890
@@ -0,0 +1,12 @@
+# Expansion test for DANE.
+#
+# Some systems seem to use 1-byte fields for the leading
+# 3 fields in a TLSA record, others 2-bytes.
+# We need the result to match the string in dnszones-src/db.test.ex
+
+exim -be
+
+dnslookup tpda: ${lookup dnsdb {tlsa=_1225._tcp.dane512ee.test.ex} \
+ {$value}{none}}
+
+****
diff --git a/test/scripts/5890-DANE/REQUIRES b/test/scripts/5890-DANE/REQUIRES
new file mode 100644
index 000000000..2314a3236
--- /dev/null
+++ b/test/scripts/5890-DANE/REQUIRES
@@ -0,0 +1,2 @@
+support Experimental_DANE
+running IPv4