BIND 10 master, updated. 059fcd024b1611a7c5ca52a6f7055f7c9d14f106 [master] added post-test cleanup for an included zone file in query test.
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Jan 4 06:34:26 UTC 2013
The branch, master has been updated
via 059fcd024b1611a7c5ca52a6f7055f7c9d14f106 (commit)
from 4cb0974a3a642d06513ecc43743109bd92e45a08 (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 059fcd024b1611a7c5ca52a6f7055f7c9d14f106
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Thu Jan 3 22:32:41 2013 -0800
[master] added post-test cleanup for an included zone file in query test.
this fixes unittest failure on a static-link build (not really
static-link specific, but this happens if sqlite3 tests are skipped).
beyond the super trivial level, but I'm sure and have confirmed it fixes
the problem, so I'm committing it now.
-----------------------------------------------------------------------
Summary of changes:
src/bin/auth/tests/query_unittest.cc | 9 +++++++++
1 file changed, 9 insertions(+)
-----------------------------------------------------------------------
diff --git a/src/bin/auth/tests/query_unittest.cc b/src/bin/auth/tests/query_unittest.cc
index 685b0a8..086b251 100644
--- a/src/bin/auth/tests/query_unittest.cc
+++ b/src/bin/auth/tests/query_unittest.cc
@@ -862,6 +862,15 @@ protected:
list_ = createDataSrcClientList(GetParam(), memory_client);
}
+ virtual void TearDown() {
+ // make sure to clear the commonly included zone file to prevent
+ // any remaining contents from affecting the next test.
+ ASSERT_EQ(0, std::system(INSTALL_PROG " -c " TEST_OWN_DATA_DIR
+ "/example-common-inc-template.zone "
+ TEST_OWN_DATA_BUILDDIR
+ "/example-common-inc.zone"));
+ }
+
virtual ~QueryTest() {
// Make sure we reset the hash creator to the default
setNSEC3HashCreator(NULL);
More information about the bind10-changes
mailing list