BIND 10 trac2750, updated. 663bc38be6ba6371ac5d2c0e4e2db845fd384037 [2750] Test the passed set instead of the tree (true at the end of the unittest)
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Sep 4 04:10:35 UTC 2013
The branch, trac2750 has been updated
via 663bc38be6ba6371ac5d2c0e4e2db845fd384037 (commit)
from 49c71998445264c8882c3b8389edd4bbd74c22f1 (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 663bc38be6ba6371ac5d2c0e4e2db845fd384037
Author: Mukund Sivaraman <muks at isc.org>
Date: Wed Sep 4 09:40:06 2013 +0530
[2750] Test the passed set instead of the tree (true at the end of the unittest)
-----------------------------------------------------------------------
Summary of changes:
.../datasrc/tests/memory/domaintree_unittest.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/tests/memory/domaintree_unittest.cc b/src/lib/datasrc/tests/memory/domaintree_unittest.cc
index d678af2..c2b6003 100644
--- a/src/lib/datasrc/tests/memory/domaintree_unittest.cc
+++ b/src/lib/datasrc/tests/memory/domaintree_unittest.cc
@@ -532,8 +532,9 @@ checkTree(const TestDomainTree& tree,
// Skip to the next node after "."
cnode = tree.nextNode(node_path);
- if (!cnode) {
+ if (names.empty()) {
// Empty tree.
+ EXPECT_EQ(static_cast<void*>(NULL), cnode);
return;
}
More information about the bind10-changes
mailing list