[svn] commit: r1060 - in /trunk/src/lib/dns/cpp/tests/testdata: message_fromWire10 message_fromWire10.spec message_fromWire11 message_fromWire11.spec

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Mar 1 20:34:00 UTC 2010


Author: jinmei
Date: Mon Mar  1 20:33:59 2010
New Revision: 1060

Log:
new test cases, and regenerated the previous test data with some minor
correction.

Added:
    trunk/src/lib/dns/cpp/tests/testdata/message_fromWire11
    trunk/src/lib/dns/cpp/tests/testdata/message_fromWire11.spec
Modified:
    trunk/src/lib/dns/cpp/tests/testdata/message_fromWire10
    trunk/src/lib/dns/cpp/tests/testdata/message_fromWire10.spec

Modified: trunk/src/lib/dns/cpp/tests/testdata/message_fromWire10
==============================================================================
--- trunk/src/lib/dns/cpp/tests/testdata/message_fromWire10 (original)
+++ trunk/src/lib/dns/cpp/tests/testdata/message_fromWire10 Mon Mar  1 20:33:59 2010
@@ -3,9 +3,9 @@
 ###
 
 # Header Section
-# ID=4149 QR=Query Opcode=QUERY(0) Rcode=NOERROR(0) RD
-1035 0100
-# QDCNT=1, ANCNT=0, NSCNT=0, ARCND=1
+# ID=4149 QR=Response Opcode=QUERY(0) Rcode=NOERROR(0) RD
+1035 8100
+# QDCNT=1, ANCNT=0, NSCNT=0, ARCNT=1
 0001 0000 0000 0001
 
 # Question Section

Modified: trunk/src/lib/dns/cpp/tests/testdata/message_fromWire10.spec
==============================================================================
--- trunk/src/lib/dns/cpp/tests/testdata/message_fromWire10.spec (original)
+++ trunk/src/lib/dns/cpp/tests/testdata/message_fromWire10.spec Mon Mar  1 20:33:59 2010
@@ -1,8 +1,9 @@
 #
-# A simple DNS query message with an EDNS0 indicating a BADVERS error
+# A simple DNS response message with an EDNS0 indicating a BADVERS error
 #
 
 [header]
+qr: response
 rd: 1
 arcount: 1
 [question]




More information about the bind10-changes mailing list