test: avoid AF_LOCAL
Linux specific and practically an alias of AF_UNIX which is POSIX PR-URL: https://github.com/libuv/libuv/pull/2388 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
This commit is contained in:
parent
bf86d5fbaf
commit
ef218cede9
@ -171,7 +171,7 @@ TEST_IMPL(pipe_getsockname_abstract) {
|
||||
socklen_t sun_len;
|
||||
char abstract_pipe[] = "\0test-pipe";
|
||||
|
||||
sock = socket(AF_LOCAL, SOCK_STREAM, 0);
|
||||
sock = socket(AF_UNIX, SOCK_STREAM, 0);
|
||||
ASSERT(sock != -1);
|
||||
|
||||
sun_len = sizeof sun;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user