From: Francis Dupont Date: Thu, 9 Jun 2016 13:24:58 +0000 (+0200) Subject: [4106_update] Removed invalidPortError6 (was moved to dhcp6/tests) X-Git-Tag: trac4109a_base~2^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=138586ec80769b1988a04f3a2475e1c64c8e98b7;p=thirdparty%2Fkea.git [4106_update] Removed invalidPortError6 (was moved to dhcp6/tests) --- diff --git a/src/lib/dhcpsrv/tests/dhcp4o6_ipc_unittest.cc b/src/lib/dhcpsrv/tests/dhcp4o6_ipc_unittest.cc index 1ab1c6461b..4d5720ed44 100644 --- a/src/lib/dhcpsrv/tests/dhcp4o6_ipc_unittest.cc +++ b/src/lib/dhcpsrv/tests/dhcp4o6_ipc_unittest.cc @@ -459,13 +459,6 @@ TEST_F(Dhcp4o6IpcBaseTest, openError) { EXPECT_EQ(TEST_PORT + 10, ipc.getPort()); } -// This test verifies that the IPC returns an error when trying to bind -// to the out of range port. -TEST_F(Dhcp4o6IpcBaseTest, invalidPortError6) { - TestIpc ipc(65535, TestIpc::ENDPOINT_TYPE_V6); - EXPECT_THROW(ipc.open(), Dhcp4o6IpcError); -} - // This test verifies that receiving packet over the IPC fails when there // is no vendor option present. TEST_F(Dhcp4o6IpcBaseTest, receiveWithoutVendorOption) {