freebsd-dev/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 tmpfs tests: check for built-in tmpfs module 2020-10-02 00:52:31 +00:00
games
include
ipf
kernel Temporarily skip flakey sys.kern.sysv_test.msg in CI 2020-06-26 17:58:10 +00:00
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 sort: Make NetBSD sort tests compatible with our sort 2021-05-13 09:33:47 -04:00
usr.sbin mtree: Fix -f -f not considering type changes. 2019-09-12 18:44:48 +00:00
FREEBSD-upgrade
h_macros.h