BIND 10 master, updated. a86b0a75d7deee554f96c6f753ea732e36c2507d Test fixes in dhcpv6.
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed May 9 16:32:03 UTC 2012
The branch, master has been updated
via a86b0a75d7deee554f96c6f753ea732e36c2507d (commit)
from 626e81094b7d69a1ca96043e7dea11466031bfb0 (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 a86b0a75d7deee554f96c6f753ea732e36c2507d
Author: Tomek Mrugalski <tomasz at isc.org>
Date: Wed May 9 18:31:45 2012 +0200
Test fixes in dhcpv6.
-----------------------------------------------------------------------
Summary of changes:
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc b/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
index a42324f..1ef5791 100644
--- a/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
+++ b/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
@@ -130,7 +130,7 @@ TEST_F(Dhcpv6SrvTest, DUID) {
vector<uint8_t> mac(len-8);
vector<uint8_t> zeros(len-8, 0);
data.readVector(mac, len-8);
- EXPECT_NE(mac, zeros);
+ EXPECT_TRUE(mac != zeros);
break;
}
case DUID_EN: {
@@ -139,8 +139,12 @@ TEST_F(Dhcpv6SrvTest, DUID) {
vector<uint8_t> content(len-2);
data.readVector(content, len-2);
EXPECT_FALSE(isRangeZero(content.begin(), content.end()));
+ break;
+ }
+ case DUID_LL: {
+ // not supported yet
+ cout << "Test not implemented for DUID-LL yet." << endl;
}
- case DUID_LL: // not supported yet
case DUID_UUID: // not supported yet
default:
cout << "Not supported duid type=" << duid_type << endl;
More information about the bind10-changes
mailing list