BIND 10 master, updated. 779e145d8f15ad9975f6ca689e6a595ea0a3de4b [master] fix solaris issue

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Aug 12 10:42:55 UTC 2011


The branch, master has been updated
       via  779e145d8f15ad9975f6ca689e6a595ea0a3de4b (commit)
      from  959dc163810ac286e01d0163624f5bbad5b82c55 (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 779e145d8f15ad9975f6ca689e6a595ea0a3de4b
Author: Jelte Jansen <jelte at isc.org>
Date:   Fri Aug 12 12:40:04 2011 +0200

    [master] fix solaris issue
    
    This patch from yesterday either disappear or never made it, anyway, recommiting jinmei's code (reviewed on jabber by, er, me)

-----------------------------------------------------------------------

Summary of changes:
 src/lib/datasrc/tests/database_unittest.cc |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/tests/database_unittest.cc b/src/lib/datasrc/tests/database_unittest.cc
index 8e61995..fcfcefe 100644
--- a/src/lib/datasrc/tests/database_unittest.cc
+++ b/src/lib/datasrc/tests/database_unittest.cc
@@ -319,7 +319,9 @@ TEST_F(DatabaseClientTest, superZone) {
 }
 
 TEST_F(DatabaseClientTest, noAccessorException) {
-    EXPECT_THROW(DatabaseClient(shared_ptr<DatabaseAccessor>()),
+    // We need a dummy variable here; some compiler would regard it a mere
+    // declaration instead of an instantiation and make the test fail.
+    EXPECT_THROW(DatabaseClient dummy((shared_ptr<DatabaseAccessor>())),
                  isc::InvalidParameter);
 }
 




More information about the bind10-changes mailing list