• Mark Johnston's avatar
    netbsd-tests: Fix the libc stat_socket test · 95c75073
    Mark Johnston authored
    The test tries to connect a socket to a closed port at  It
    sets O_NONBLOCK on the socket first and expects to get EINPROGRESS from
    connect(2), but this is not guaranteed, ECONNREFUSED is possible.
    Handle both cases, and re-enable the test.
    PR:		240621
    MFC after:	1 week
    Sponsored by:	The FreeBSD Foundation