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.
parent
cf78d04a
Please register or sign in to comment