freebsd-nq/contrib/netbsd-tests
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
..
bin
crypto
dev
fs
games
include
ipf
kernel
lib netbsd-tests: Fix the libc stat_socket test 2022-01-14 15:01:41 -05:00
libexec/ld.elf_so
modules
net
rump
sbin
share
sys
usr.bin
usr.sbin
FREEBSD-upgrade
h_macros.h