From: Christopher Illarionova Date: Mon, 5 Jan 2026 16:54:00 +0000 (+0000) Subject: tests: stty: add require_controlling_input_terminal_ to bad-speed test X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1994cd9ac835d3cb8e7224aa7e3bf8ef1469699;p=thirdparty%2Fcoreutils.git tests: stty: add require_controlling_input_terminal_ to bad-speed test The bad-speed test runs 'stty ispeed 9600' without a --file argument, which requires a controlling terminal. Without it, stty fails early with 'Inappropriate ioctl for device' before reaching cfsetispeed, causing the test to skip with a misleading 'LD_PRELOAD interception failed' message. * tests/stty/bad-speed.sh: Add require_controlling_input_terminal_ to match the other stty tests (stty.sh, stty-pairs.sh, stty-row-col.sh, stty-invalid.sh) which all require a controlling terminal. From https://github.com/coreutils/coreutils/pull/160 --- diff --git a/tests/stty/bad-speed.sh b/tests/stty/bad-speed.sh index 3a022f193f..fe4ccfb7dd 100755 --- a/tests/stty/bad-speed.sh +++ b/tests/stty/bad-speed.sh @@ -19,6 +19,7 @@ . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src print_ver_ stty +require_controlling_input_terminal_ require_gcc_shared_ # Replace each cfsetispeed call with a call to these stubs.