This exercises the patch in D44523.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 56851 Build 53739: arc lint + arc unit
Event Timeline
Comment Actions
Why do you need the killer child to kill the debuggee?
I suppose the test is run in dedicated process, so the debuggee is automatically detached, continued, and then the zombie is gathered either by init or the test process?
Comment Actions
It's not strictly needed I think. It just help exercise more code paths in reap_kill_subtree_once().
I suppose the test is run in dedicated process, so the debuggee is automatically detached, continued, and then the zombie is gathered either by init or the test process?
Yes, ATF tests always run in a dedicated process, so we can let init reap zombies.
Comment Actions
Make the test case useful. reap_kill() will not single-thread an
already-stopped process.