BIND 10 trac1228, updated. 31d5a4f66b18cca838ca1182b9f13034066427a7 [1228] Compilation fix on Mac/NetBSD.
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Nov 9 12:41:19 UTC 2011
The branch, trac1228 has been updated
via 31d5a4f66b18cca838ca1182b9f13034066427a7 (commit)
from 5d6c71aeb2575883488b2cde87501aa84260b1ab (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 31d5a4f66b18cca838ca1182b9f13034066427a7
Author: Tomek Mrugalski <tomasz at isc.org>
Date: Wed Nov 9 13:41:02 2011 +0100
[1228] Compilation fix on Mac/NetBSD.
-----------------------------------------------------------------------
Summary of changes:
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc b/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
index fcdd2d6..72e48e4 100644
--- a/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
+++ b/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
@@ -131,14 +131,14 @@ TEST_F(Dhcpv6SrvTest, Solicit_basic) {
EXPECT_EQ(clientid->getType(), tmp->getType() );
ASSERT_EQ(clientid->len(), tmp->len() );
- EXPECT_EQ( clientid->getData(), tmp->getData() );
+ EXPECT_TRUE( clientid->getData() == tmp->getData() );
// check that server included its server-id
tmp = reply->getOption(D6O_SERVERID);
EXPECT_EQ(tmp->getType(), srv->getServerID()->getType() );
ASSERT_EQ(tmp->len(), srv->getServerID()->len() );
- EXPECT_EQ(tmp->getData(), srv->getServerID()->getData());
+ EXPECT_TRUE(tmp->getData() == srv->getServerID()->getData());
// more checks to be implemented
delete srv;
More information about the bind10-changes
mailing list