From: Aki Tuomi Date: Tue, 31 Mar 2015 14:49:47 +0000 (+0300) Subject: Regression test for unknown record contents X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~98^2~18^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=556b98bc9f668ab00e14c916983d29f0bb96fb0a;p=thirdparty%2Fpdns.git Regression test for unknown record contents --- diff --git a/regression-tests/tests/test-urc/command b/regression-tests/tests/test-urc/command new file mode 100755 index 0000000000..9b9b3698f6 --- /dev/null +++ b/regression-tests/tests/test-urc/command @@ -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 index 0000000000..a32da8ce8a --- /dev/null +++ b/regression-tests/tests/test-urc/description @@ -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 index 0000000000..1c0b7b68c0 --- /dev/null +++ b/regression-tests/tests/test-urc/expected_result @@ -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 diff --git a/regression-tests/zones/test.com b/regression-tests/zones/test.com index 5080a0b28f..bdfcbe5546 100644 --- a/regression-tests/zones/test.com +++ b/regression-tests/zones/test.com @@ -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