K 10 svn:author V 5 markj K 8 svn:date V 27 2022-01-21T00:56:21.329970Z K 7 svn:log V 499 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 Sponsored by: The FreeBSD Foundation (cherry picked from commit 95c75073d3d1ca9dcae41784453172f199bb2c0f) Git Hash: 9f192dd79cce2ea53a1cdc3ab64ea204a2fb9d84 Git Author: markj@FreeBSD.org END