Commit b3f92e1
committed
test(utils): stop bash tail-exec flaking the SIGTERM-ignored terminate test
bash -c "trap \"\" TERM; sleep 60" tail-execs into sleep, so /proc/pid/cmdline
argv0 becomes "sleep". TerminateProcess verifies argv0 == "bash" before signaling;
when the exec wins the startup race against that check it no-ops, the undead
sleep runs its full 60s, and the utils package trips its 120s test timeout.
A trailing "; :" keeps bash resident so the cmdline stays "bash".1 parent 7e4406f commit b3f92e1
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
| |||
0 commit comments