Files
reverse-engineering-anything/bridge
morluto 9b1c739da6 test(agentenv): skip /proc session tests off Linux and release held descendants (#11495)
* test(agentenv): skip /proc session tests off Linux and release held descendants

Two LongRunTest cases need the supervisor's /proc same-session
enumeration, which only Linux provides; skip them when /proc is absent.

Every held descendant also leaked: the test touched its release file and
then removed the folder before the child's 20 ms poll saw it. A cleanup
now touches the release files and waits for the recorded descendant to
exit before the folder is removed.

Fixes #11349

* test(agentenv): report a surviving descendant instead of signalling its pid

The cleanup holds no live handle to the held descendant, so its saved
pid does not prove ownership after exit or reuse.

* test(agentenv): count an unreaped zombie descendant as exited
2026-11-16 06:22:58 +08:00
..