diff options
| author | 2026-02-28 18:07:22 +0800 | |
|---|---|---|
| committer | 2026-04-06 14:09:04 -0600 | |
| commit | 8f260b02eeeffbf2263c2b82b6e3e32fd73cde2b (patch) | |
| tree | 9af7e8d481abf2a8bd71ec62988a532c81126e69 /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | kunit: tool: skip stty when stdin is not a tty (diff) | |
kunit: tool: Terminate kernel under test on SIGINT
kunit.py will attempt to catch SIGINT / ^C in order to ensure the TTY isn't
messed up, but never actually attempts to terminate the running kernel (be
it UML or QEMU). This can lead to a bit of frustration if the kernel has
crashed or hung.
Terminate the kernel process in the signal handler, if it's running. This
requires plumbing through the process handle in a few more places (and
having some checks to see if the kernel is still running in places where it
may have already been killed).
Reported-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Closes: https://lore.kernel.org/all/aaFmiAmg9S18EANA@smile.fi.intel.com/
Signed-off-by: David Gow <david@davidgow.net>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Tested-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
