test(libkernel): drop the macOS kqueue check that a pipe write end refuses EVFILT_WRITE #19490
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/19490"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by imellag on 2026-11-13T12:16:11Z.
What
guest_kqueuefails on macOS atGuestKqueue.cpp:1416: a macOS-only check requires that addingEVFILT_WRITEon the write end of a pipe throws.53f80d22f6(feat(libkernel): support macOS pipe write readiness) made that registration work on macOS and updated the debt entry ("on macOSEVFILT_WRITEon an anonymous pipe reads the free space from a zero-timeout private kqueue"), but left this check, so it now fails on every macOS run.The check is removed. The supported case is already covered on every host by
PipeWrite()in the same test, which registersEVFILT_WRITEon a pipe's write end and checks the free space, the wait andEV_EOF. The neighbouring checks that the wrong pipe ends throw (EVFILT_READon the write end,EVFILT_WRITEon the read end) are kept.Tested
macOS 27.2, Apple M4 Pro, x86-64 build under Rosetta 2,
maind4556df8a8:main:guest_kqueuefails withkqueue check failed at core/libs/tests/GuestKqueue.cpp:1416.ctest -R "^guest_kqueue"passes both tests (guest_kqueue,guest_kqueue_cleared_race);guest_kqueuepasses 5 runs out of 5.Only a macOS-only block is removed, so Linux and Windows run the same checks as before.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)