BIND 10 trac2218_2, updated. 6419f929bd1e7eb951fe1c0c0debc7e8ae30a59a [2218] Add trace when walking the tree
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Sep 21 07:16:06 UTC 2012
The branch, trac2218_2 has been updated
via 6419f929bd1e7eb951fe1c0c0debc7e8ae30a59a (commit)
from d26a99607b8d1e1b861de188c321e869ebb92cd1 (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 6419f929bd1e7eb951fe1c0c0debc7e8ae30a59a
Author: Mukund Sivaraman <muks at isc.org>
Date: Fri Sep 21 12:40:48 2012 +0530
[2218] Add trace when walking the tree
-----------------------------------------------------------------------
Summary of changes:
.../datasrc/memory/tests/zone_finder_unittest.cc | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory/tests/zone_finder_unittest.cc b/src/lib/datasrc/memory/tests/zone_finder_unittest.cc
index cb1475a..4892861 100644
--- a/src/lib/datasrc/memory/tests/zone_finder_unittest.cc
+++ b/src/lib/datasrc/memory/tests/zone_finder_unittest.cc
@@ -1544,10 +1544,14 @@ const size_t data_count(sizeof(nsec3_data) / sizeof(*nsec3_data));
TEST_F(InMemoryZoneFinderNSEC3Test, findNSEC3Walk) {
const Name origin("example.org");
for (size_t i = 0; i < data_count; ++i) {
+ const Name name = Name(nsec3_data[i].name).concatenate(origin);
+
+ SCOPED_TRACE(name.toText() + (nsec3_data[i].recursive ?
+ ", recursive" :
+ ", non-recursive"));
+
const ZoneFinder::FindNSEC3Result result =
- zone_finder_.findNSEC3
- (Name(nsec3_data[i].name).concatenate(origin),
- nsec3_data[i].recursive);
+ zone_finder_.findNSEC3(name, nsec3_data[i].recursive);
EXPECT_EQ(nsec3_data[i].matched, result.matched);
EXPECT_EQ(nsec3_data[i].closest_labels, result.closest_labels);
More information about the bind10-changes
mailing list