diff options
Diffstat (limited to 'test/syscalls')
-rw-r--r-- | test/syscalls/linux/socket_ip_unbound_netlink.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syscalls/linux/socket_ip_unbound_netlink.cc b/test/syscalls/linux/socket_ip_unbound_netlink.cc index 6036bfcaf..7fb1c0faf 100644 --- a/test/syscalls/linux/socket_ip_unbound_netlink.cc +++ b/test/syscalls/linux/socket_ip_unbound_netlink.cc @@ -92,7 +92,7 @@ TEST_P(IPv4UnboundSocketTest, ConnectToBadLocalAddress_NoRandomSave) { auto sock = ASSERT_NO_ERRNO_AND_VALUE(NewSocket()); EXPECT_THAT(connect(sock->get(), reinterpret_cast<sockaddr*>(&addr.addr), addr.addr_len), - SyscallFailsWithErrno(EADDRNOTAVAIL)); + SyscallFailsWithErrno(ENETUNREACH)); } INSTANTIATE_TEST_SUITE_P(IPUnboundSockets, IPv4UnboundSocketTest, |