BIND 10 trac2431, updated. 0333782cc1f51e1839e5cea59c72ef72a4b05929 [2431] Add tests with incorrect order of class, TTL and type
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Dec 14 02:45:06 UTC 2012
The branch, trac2431 has been updated
via 0333782cc1f51e1839e5cea59c72ef72a4b05929 (commit)
from 1f339724101df031a6e5b0338bbd085132f0e1ac (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0333782cc1f51e1839e5cea59c72ef72a4b05929
Author: Mukund Sivaraman <muks at isc.org>
Date: Fri Dec 14 08:14:20 2012 +0530
[2431] Add tests with incorrect order of class, TTL and type
-----------------------------------------------------------------------
Summary of changes:
src/lib/dns/tests/master_loader_unittest.cc | 8 ++++++++
1 file changed, 8 insertions(+)
-----------------------------------------------------------------------
diff --git a/src/lib/dns/tests/master_loader_unittest.cc b/src/lib/dns/tests/master_loader_unittest.cc
index 8c9269d..7ddc392 100644
--- a/src/lib/dns/tests/master_loader_unittest.cc
+++ b/src/lib/dns/tests/master_loader_unittest.cc
@@ -280,6 +280,14 @@ struct ErrorCase {
{ "www FORTNIGHT IN A 192.0.2.1", NULL, "Invalid TTL" },
{ "www 3600 XX A 192.0.2.1", NULL, "Invalid class" },
{ "www 3600 IN A bad_ip", NULL, "Invalid Rdata" },
+ { "www IN A 3600 192.168.2.7", NULL,
+ "Invalid Rdata (incorrect order of class, TTL and type)" },
+ { "www A IN 3600 192.168.2.8", NULL,
+ "Invalid Rdata (incorrect order of class, TTL and type)" },
+ { "www 3600 A IN 192.168.2.7", NULL,
+ "Invalid Rdata (incorrect order of class, TTL and type)" },
+ { "www A 3600 IN 192.168.2.8", NULL,
+ "Invalid Rdata (incorrect order of class, TTL and type)" },
{ "www 3600 IN", NULL, "Unexpected EOLN" },
{ "www 3600 CH TXT nothing", NULL, "Class mismatch" },
{ "www \"3600\" IN A 192.0.2.1", NULL, "Quoted TTL" },
More information about the bind10-changes
mailing list