[svn] commit: r2553 - /branches/trac221b/src/bin/auth/tests/asio_link_unittest.cc
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Jul 21 00:10:40 UTC 2010
Author: jinmei
Date: Wed Jul 21 00:10:40 2010
New Revision: 2553
Log:
avoid using limited broadcast address (all 1 address) for a failure test case.
on some systems this won't fail as expected.
Modified:
branches/trac221b/src/bin/auth/tests/asio_link_unittest.cc
Modified: branches/trac221b/src/bin/auth/tests/asio_link_unittest.cc
==============================================================================
--- branches/trac221b/src/bin/auth/tests/asio_link_unittest.cc (original)
+++ branches/trac221b/src/bin/auth/tests/asio_link_unittest.cc Wed Jul 21 00:10:40 2010
@@ -109,7 +109,7 @@
// These addresses should generally be unavailable as a valid local
// address, although there's no guarantee in theory.
EXPECT_THROW(IOService(NULL, *TEST_PORT, *"ffff:ffff::"), IOError);
- EXPECT_THROW(IOService(NULL, *TEST_PORT, *"255.255.255.255"), IOError);
+ EXPECT_THROW(IOService(NULL, *TEST_PORT, *"255.255.0.0"), IOError);
}
TEST(IOServiceTest, duplicateBind) {
More information about the bind10-changes
mailing list