Commit 9f558a2c improved the test on FreeBSD, but for some reason made it start stalling or deadlocking (not sure which as I can only test on CI) on macOS.
This MR reworks it so it no longer stalls/deadlocks on CI. I can’t get to the root cause of the issue, though, as I can’t run the test under a debugger.
Signed-off-by: Philip Withnall pwithnall@endlessos.org