| 95c75073 | 14-Jan-2022 |
Mark Johnston <[email protected]> |
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),
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
show more ...
|
| 35e4527e | 01-Oct-2021 |
Eric van Gyzen <[email protected]> |
sem_clockwait_np test: fix usage of ATF API
ATF_REQUIRE_ERRNO requires the given errno iff the given expression is true. These test cases used it incorrectly, potentially allowing sem_clockwait_np
sem_clockwait_np test: fix usage of ATF API
ATF_REQUIRE_ERRNO requires the given errno iff the given expression is true. These test cases used it incorrectly, potentially allowing sem_clockwait_np to succeed when it was expected to fail. Use separate ATF calls to require failure and the expected errno.
MFC after: 1 week Sponsored by: Dell EMC Isilon
show more ...
|
| 2334abfd | 01-Oct-2021 |
Eric van Gyzen <[email protected]> |
sem test: move sem_clockwait_np tests into individual cases
Move these tests into individual test cases for all the usual reasons. No functional change intended.
MFC after: 1 week Sponsored by: Del
sem test: move sem_clockwait_np tests into individual cases
Move these tests into individual test cases for all the usual reasons. No functional change intended.
MFC after: 1 week Sponsored by: Dell EMC Isilon
show more ...
|