BIND 10 trac2504, updated. a6b558c0d09f1812f347497857ab8aa42b33b0f7 [2504] Check result of find()
BIND 10 source code commits
bind10-changes at lists.isc.org
Sun Dec 9 13:02:22 UTC 2012
The branch, trac2504 has been updated
via a6b558c0d09f1812f347497857ab8aa42b33b0f7 (commit)
from 06eeaf025beb42ff26032d79b325718c97ed4550 (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 a6b558c0d09f1812f347497857ab8aa42b33b0f7
Author: Mukund Sivaraman <muks at isc.org>
Date: Sun Dec 9 18:04:04 2012 +0530
[2504] Check result of find()
-----------------------------------------------------------------------
Summary of changes:
.../datasrc/tests/memory/zone_finder_unittest.cc | 3 +++
1 file changed, 3 insertions(+)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/tests/memory/zone_finder_unittest.cc b/src/lib/datasrc/tests/memory/zone_finder_unittest.cc
index 00d4f57..510e39f 100644
--- a/src/lib/datasrc/tests/memory/zone_finder_unittest.cc
+++ b/src/lib/datasrc/tests/memory/zone_finder_unittest.cc
@@ -1446,6 +1446,9 @@ TEST_F(InMemoryZoneFinderTest, NSECNonExistentTest) {
ZoneFinderContextPtr find_result(
result.zone_finder->find(search_name,
RRType::A(), ZoneFinder::FIND_DNSSEC));
+ // We don't find the domain, but find() must complete (not throw or
+ // assert).
+ EXPECT_EQ(ZoneFinder::NXDOMAIN, find_result->code);
}
/// \brief NSEC3 specific tests fixture for the InMemoryZoneFinder class
More information about the bind10-changes
mailing list