<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 26, 2022 at 10:54 PM Rob Landley <<a href="mailto:rob@landley.net">rob@landley.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 7/26/22 17:59, enh wrote:<br>
> This broke a lot of tests in postsubmit, and even seems to have had the<br>
> effect of causing reboots (presumably by accidentally killing init)<br>
> which made it quite hard to track down.<br>
<br>
Isn't this why init has signals blocked?<br>
<br>
> Sadly I'm too stupid by this point in the afternoon to come up with the<br>
> missing test :-(<br>
<br>
Properly testing killall and rm goes under mkroot, precisely _because_ it can do<br>
bad things to the system if it goes wrong...<br></blockquote><div><br></div><div>we do have _some_ killall tests, i just didn't get past the "how did we get here?" to even work out whether we could write a test for this case, not the "okay, how do i write that test?"... </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Rob<br>
</blockquote></div></div>