summaryrefslogtreecommitdiff
path: root/tests/misc/stty
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/stty')
-rwxr-xr-xtests/misc/stty7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/misc/stty b/tests/misc/stty
index 28dd90e12..0659d51a5 100755
--- a/tests/misc/stty
+++ b/tests/misc/stty
@@ -16,13 +16,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if test "$VERBOSE" = yes; then
- set -x
- stty --version
-fi
-
# Make sure there's a tty on stdin.
. $srcdir/test-lib.sh
+test "$VERBOSE" = yes && stty --version
+
require_controlling_input_terminal_
trap '' TTOU # Ignore SIGTTOU