Commit bf893b6
committed
test: only print uffd hint if uffd actually in use
If we fail to kill firecracker because it already die, we print a hint
about the uffd handler being potentially responsible. But this only
makes sense if a uffd handler was actually spawned, so restrict printing
of the hint to this case. While we're at it, also print the uffd logs in
this case, so that the truth of the hint can easily be verified (uffd
killed firecracker iff uffd panicked).
Signed-off-by: Patrick Roy <[email protected]>1 parent 55a84be commit bf893b6
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
320 | 324 | | |
321 | 325 | | |
322 | 326 | | |
| |||
0 commit comments