opnsense-src/tests/sys/kqueue
Kyle Evans 09fe5cc789 tests: kqueue: improve diagnostics for our CPONFORK test
Notably, confirm in the child that our close-on-fork fd is actually
closed, and break RECV_ALL out into a table and check each bit
individually to provide a better message when the test fails.

While we're here, just switch to waitid() rather than trying to identify
the point where we have to make the switch.  This reduces maintenance
slightly, as keeping our assertion static would require still adding to
a _RECV_ALL mask *just* for that purpose.

Reviewed by:	kib, markj (both slightly earlier version)

(cherry picked from commit 51d2c38010824b90d7462711896a88165db9d015)
2026-04-23 08:48:45 -05:00
..
libkqueue tests/kqueue: repair flaky test 2025-06-24 15:29:03 -07:00
kqueue_fork.c tests: kqueue: improve diagnostics for our CPONFORK test 2026-04-23 08:48:45 -05:00
kqueue_peek_signal.c Add a test for https://reviews.freebsd.org/D31858 (PR 258310) 2021-09-13 10:16:05 +01:00
Makefile kqueue tests: Add a regression test 2024-01-27 13:51:13 -05:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.inc Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00