Commit 05368c56 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

avoid using limited broadcast address (all 1 address) for a failure test case.

on some systems this won't fail as expected.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac221b@2553 e5f2f494-b856-4b98-b285-d166d9295462
parent 65166f58
...@@ -109,7 +109,7 @@ TEST(IOServiceTest, unavailableAddress) { ...@@ -109,7 +109,7 @@ TEST(IOServiceTest, unavailableAddress) {
// These addresses should generally be unavailable as a valid local // These addresses should generally be unavailable as a valid local
// address, although there's no guarantee in theory. // address, although there's no guarantee in theory.
EXPECT_THROW(IOService(NULL, *TEST_PORT, *"ffff:ffff::"), IOError); 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) { TEST(IOServiceTest, duplicateBind) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment