]> granicus.if.org Git - pdns/commitdiff
add very-long-txt test case
authorBert Hubert <bert.hubert@netherlabs.nl>
Sat, 14 Feb 2009 15:16:35 +0000 (15:16 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Sat, 14 Feb 2009 15:16:35 +0000 (15:16 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1337 d19b8d6e-7fed-0310-83ef-9ca221ded41b

regression-tests/very-long-txt/command [new file with mode: 0755]
regression-tests/very-long-txt/description [new file with mode: 0644]
regression-tests/very-long-txt/expected_result [new file with mode: 0644]
regression-tests/very-long-txt/real_result [new file with mode: 0644]

diff --git a/regression-tests/very-long-txt/command b/regression-tests/very-long-txt/command
new file mode 100755 (executable)
index 0000000..7a967f7
--- /dev/null
@@ -0,0 +1,2 @@
+cleandig very-long-txt.test.com TXT
+
diff --git a/regression-tests/very-long-txt/description b/regression-tests/very-long-txt/description
new file mode 100644 (file)
index 0000000..af9909f
--- /dev/null
@@ -0,0 +1,2 @@
+This test tries to resolve a TXT record that is directly available in
+the database, but is longer than 255 characters. This requires splitting.
diff --git a/regression-tests/very-long-txt/expected_result b/regression-tests/very-long-txt/expected_result
new file mode 100644 (file)
index 0000000..e16f78a
--- /dev/null
@@ -0,0 +1,3 @@
+0      very-long-txt.test.com. IN      TXT     3600    "A very long TXT record! boy you won't believe how long. A very long TXT record! boy you won't believe how long. A very long TXT record! boy you won't believe how long. A very long TXT record! boy you won't believe how long. A very long TXT record! boy you" " won't believe how long!"
+Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
+Reply to question for qname='very-long-txt.test.com.', qtype=TXT
diff --git a/regression-tests/very-long-txt/real_result b/regression-tests/very-long-txt/real_result
new file mode 100644 (file)
index 0000000..e69de29