mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Merge branch 'tor-github/pr/1213'
This commit is contained in:
commit
a8e6eab379
@ -5399,11 +5399,13 @@ test_util_socketpair(void *arg)
|
||||
tt_skip();
|
||||
}
|
||||
#endif /* defined(__FreeBSD__) */
|
||||
#ifdef ENETUNREACH
|
||||
if (ersatz && socketpair_result == -ENETUNREACH) {
|
||||
/* We can also fail with -ENETUNREACH if we have no network stack at
|
||||
* all. */
|
||||
tt_skip();
|
||||
}
|
||||
#endif
|
||||
tt_int_op(0, OP_EQ, socketpair_result);
|
||||
|
||||
tt_assert(SOCKET_OK(fds[0]));
|
||||
|
Loading…
Reference in New Issue
Block a user