martha#356: kill the frozen tree deepest first, through an injected kill and pgrep #359
Loading…
Reference in a new issue
No description provided.
Delete branch "saturnus/356-kill-deepest-first"
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?
Purpose (fix): a child that a run forks while it is being torn down no longer escapes
killEvenIfGone.Refs #356 (the cause and the counts are in c7294)
killandpgrepare now an injectedReach, defaulting to this machine's. The new case uses a made-up pid tree, akillthat records and sends nothing, and a fakepgrep, so no signal from it reaches any process. It checks that the whole tree is frozen before any kill, that only those pids are signalled, and that each child dies before its parent. On the old order it is red: "pid 101 is killed before its parent, pid 100".npm testin its own namespace: green (installer 170 of 170; src 5921 pass, 0 fail, 38 skipped as on main).