summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorShuvam Pandey <shuvampandey1@gmail.com>2026-02-27 15:31:36 +0300
committerShuah Khan <skhan@linuxfoundation.org>2026-04-06 23:07:29 +0300
commite42c349f4cdfa43cb39a68c8f764f8cafc23a9a9 (patch)
tree7cb029c906448e2666515e12e7b740548bb3561c /scripts
parentb73f50ffd4bddcd42b312a6c2b3d990f2cde7bf7 (diff)
downloadlinux-e42c349f4cdfa43cb39a68c8f764f8cafc23a9a9.tar.xz
kunit: tool: skip stty when stdin is not a tty
run_kernel() cleanup and signal_handler() invoke stty unconditionally. When stdin is not a tty (for example in CI or unit tests), this writes noise to stderr. Call stty only when stdin is a tty. Add regression tests for these paths: - run_kernel() with non-tty stdin - signal_handler() with non-tty stdin - signal_handler() with tty stdin Signed-off-by: Shuvam Pandey <shuvampandey1@gmail.com> Reviewed-by: David Gow <david@davidgow.net> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions