Mark Johnston 95c75073d3 netbsd-tests: Fix the libc stat_socket test
The test tries to connect a socket to a closed port at 127.0.0.1.  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
2022-01-14 15:01:41 -05:00
..
2021-12-18 10:09:14 -08:00
2021-12-21 16:13:00 +01:00
2021-12-06 16:36:44 -05:00
2021-03-01 16:01:44 +01:00
2021-09-22 11:10:58 +02:00
2022-01-03 22:03:39 -08:00
2021-07-17 22:20:44 -07:00
2021-01-13 23:56:18 -06:00
2021-11-15 16:58:58 +01:00
2021-12-06 16:36:44 -05:00
2021-11-06 16:24:36 -06:00
2021-02-23 17:47:07 +00:00
2021-01-12 00:56:35 +02:00
2021-11-05 09:39:56 +01:00
2021-05-20 00:12:27 +03:00
2021-01-02 21:03:28 +02:00
2021-12-02 22:11:04 -08:00