This repository has been archived by the owner. It is now read-only.
Please sign in to comment.
test: fix simple/net-pipe-connect-errors
When trying to connect to something that is not a UNIX socket, Linux returns ECONNREFUSED, not ENOTSOCK. We cannot atomically determine if the other end is a) a stale socket, or b) not a socket at all, so let's accept both error codes.
- Loading branch information...
Showing with 1 addition and 1 deletion.