summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2005-09-02 05:22:31 +0000
committerBob Halley <halley@dnspython.org>2005-09-02 05:22:31 +0000
commit07c1fb5c5f054bf12ec5835afb94e5681112715a (patch)
tree221444a004db78d658c9a145f08fbfa031bfae98 /tests
parent6d7cf919d7047e4525cbd37c7c285afe23b06d20 (diff)
downloaddnspython-07c1fb5c5f054bf12ec5835afb94e5681112715a.tar.gz
accept the unknown RR syntax for known RR types
Original author: Bob Halley <halley@dnspython.org> Date: 2004-05-14 08:33:47
Diffstat (limited to 'tests')
-rw-r--r--tests/example4
-rw-r--r--tests/example1.good1
-rw-r--r--tests/example2.good1
3 files changed, 6 insertions, 0 deletions
diff --git a/tests/example b/tests/example
index f57e968..c34b5a6 100644
--- a/tests/example
+++ b/tests/example
@@ -197,3 +197,7 @@ dnskey02 DNSKEY HOST|FLAG4 DNSSEC RSAMD5 (
yzWZriO6i2odGWWQVucZqKVsENW91IOW4vqudngPZsY3
GvQ/xVA8/7pyFj6b7Esga60zyGW6LFe9r8n6paHrlG5o
jqf0BaqHT+8= )
+;
+; test known type using unknown RR syntax
+;
+unknown3 A \# 4 7f000002
diff --git a/tests/example1.good b/tests/example1.good
index 610aee6..c57bb65 100644
--- a/tests/example1.good
+++ b/tests/example1.good
@@ -95,6 +95,7 @@ u 300 IN TXT "txt-not-in-nxt"
a.u 300 IN A 73.80.65.49
b.u 300 IN A 73.80.65.49
unknown2 3600 IN TYPE999 \# 8 0a0000010a000001
+unknown3 3600 IN A 127.0.0.2
wks01 3600 IN WKS 10.0.0.1 6 0 1 2 21 23
wks02 3600 IN WKS 10.0.0.1 17 0 1 2 53
wks03 3600 IN WKS 10.0.0.2 6 65535
diff --git a/tests/example2.good b/tests/example2.good
index feec82a..88549a3 100644
--- a/tests/example2.good
+++ b/tests/example2.good
@@ -95,6 +95,7 @@ u.example. 300 IN TXT "txt-not-in-nxt"
a.u.example. 300 IN A 73.80.65.49
b.u.example. 300 IN A 73.80.65.49
unknown2.example. 3600 IN TYPE999 \# 8 0a0000010a000001
+unknown3.example. 3600 IN A 127.0.0.2
wks01.example. 3600 IN WKS 10.0.0.1 6 0 1 2 21 23
wks02.example. 3600 IN WKS 10.0.0.1 17 0 1 2 53
wks03.example. 3600 IN WKS 10.0.0.2 6 65535