You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
not ok 199 - pipe_overlong_path
# exit code 393222# Output from process `pipe_overlong_path`:# Assertion failed in test/test-pipe-bind-error.c on line 175: `UV_EINVAL == uv_pipe_bind2(&pipe, path, sizeof(path), UV_PIPE_NO_TRUNCATE)` (-22 == -86)
What is the size of struct sockaddr_un.sun_path on AIX?
Looks like its set to 1024 or 1023
From: /usr/include/sys/un.h
#if defined(COMPAT_43) && !defined(_KERNEL)
structsockaddr_un {
ushort_tsun_family; /* AF_UNIX */charsun_path[1024]; /* changed from 104 to PATH_MAX to support long user names. This value should be changed manually if PATH_MAX changes in future */
};
#elsestructsockaddr_un {
uchar_tsun_len; /* sockaddr len including null */sa_family_tsun_family; /* AF_UNIX */charsun_path[1023]; /* changed from 104 to PATH_MAX to support long user names. This value should be changed manually if PATH_MAX changes in future */
};
#endif/* COMPAT_43 && !_KERNEL */
Discovered this failure while running the CI for a pull request:
Ref: #4229
https://ci.nodejs.org/job/libuv-test-commit-aix/nodes=aix72-ppc64/2279/console
libuv/test/test-pipe-bind-error.c
Line 175 in 6be130e
Looks like errno 86 maps to
ENAMETOOLONG
on AIX.Looks like this passes as expected on IBM i:
https://ci.nodejs.org/job/libuv-test-commit-aix/nodes=aix72-ppc64/2279/console
The text was updated successfully, but these errors were encountered: