]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Regression test for unknown record contents
authorAki Tuomi <cmouse@desteem.org>
Tue, 31 Mar 2015 14:49:47 +0000 (17:49 +0300)
committerAki Tuomi <cmouse@desteem.org>
Tue, 7 Apr 2015 19:03:45 +0000 (22:03 +0300)
regression-tests/tests/test-urc/command [new file with mode: 0755]
regression-tests/tests/test-urc/description [new file with mode: 0644]
regression-tests/tests/test-urc/expected_result [new file with mode: 0644]
regression-tests/zones/test.com

diff --git a/regression-tests/tests/test-urc/command b/regression-tests/tests/test-urc/command
new file mode 100755 (executable)
index 0000000..9b9b369
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+cleandig urc65226.test.com TYPE65226
diff --git a/regression-tests/tests/test-urc/description b/regression-tests/tests/test-urc/description
new file mode 100644 (file)
index 0000000..a32da8c
--- /dev/null
@@ -0,0 +1 @@
+Ensure unknown record contents are stored and presented correctly
diff --git a/regression-tests/tests/test-urc/expected_result b/regression-tests/tests/test-urc/expected_result
new file mode 100644 (file)
index 0000000..1c0b7b6
--- /dev/null
@@ -0,0 +1,3 @@
+0      urc65226.test.com.      IN      TYPE65226       3600    \# 3 414243
+Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
+Reply to question for qname='urc65226.test.com.', qtype=TYPE65226
index 5080a0b28f65e933803b81da43efc8c7a21a29b5..bdfcbe55467d4a3a821f9c507da9ca082f96b587 100644 (file)
@@ -37,3 +37,4 @@ aland         IN TXT "\195\133LAND ISLANDS"
 hightxt                IN      TXT     "v=spf1 mx ip4:78.46.192.210 –all"
 hightxt                IN      SPF     "v=spf1 mx ip4:78.46.192.210 –all"
 d              IN      DNAME   d2.test2.com.
+urc65226       IN      TYPE65226 \# 3 414243