summaryrefslogtreecommitdiff
path: root/tests/misc/stty
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-09-07 11:54:43 +0200
committerJim Meyering <meyering@redhat.com>2008-09-08 08:20:03 +0200
commit22e5102f1961c5552d20c3791cbc99b6b001e83f (patch)
tree199738dcde259cded44e1d925faa7fa68739cb0c /tests/misc/stty
parente4fa3e78088d7bc088d40283edcdd7393d6a5741 (diff)
downloadcoreutils-22e5102f1961c5552d20c3791cbc99b6b001e83f.tar.xz
tests: move input-tty into a test-lib.sh function
* tests/test-lib.sh (require_controlling_input_terminal_): New function, from * tests/input-tty: ...here. Remove file. * tests/Makefile.am (EXTRA_DIST): Remove input-tty. * tests/mv/i-3: Use the function, not the file. * tests/misc/stty: Likewise. * tests/misc/stty-row-col: Likewise. * tests/misc/stty-invalid: Likewise.
Diffstat (limited to 'tests/misc/stty')
-rwxr-xr-xtests/misc/stty2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/stty b/tests/misc/stty
index 8b5fbff00..8216c8e81 100755
--- a/tests/misc/stty
+++ b/tests/misc/stty
@@ -22,8 +22,8 @@ if test "$VERBOSE" = yes; then
fi
# Make sure there's a tty on stdin.
-. $srcdir/input-tty
. $srcdir/test-lib.sh
+require_controlling_input_terminal_
# The following list of reversible options was generated with
# grep -w REV stty.c|sed -n '/^ {"/{s//REV_/;s/".*/=1/;p;}'|fmt