diff options
author | Jim Meyering <jim@meyering.net> | 1999-08-17 10:15:50 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-08-17 10:15:50 +0000 |
commit | 13955cb7c14fe3e8d21975bab201eeec5d70b9c6 (patch) | |
tree | 9d40e24099df8ca85e154682d6f91bf622e0cfcf /tests/stty/row-col-1 | |
parent | e95aecb85e0c5ce20de841cea26a51ebe6833372 (diff) | |
download | coreutils-13955cb7c14fe3e8d21975bab201eeec5d70b9c6.tar.xz |
source input-tty instead of open-coding it
Diffstat (limited to 'tests/stty/row-col-1')
-rwxr-xr-x | tests/stty/row-col-1 | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/stty/row-col-1 b/tests/stty/row-col-1 index f4a2374d5..c2d772cf4 100755 --- a/tests/stty/row-col-1 +++ b/tests/stty/row-col-1 @@ -6,12 +6,8 @@ if test "$VERBOSE" = yes; then stty --version fi -tty -s || have_input_tty=no -if test "$have_input_tty" = no; then - echo "$0: This test must have a controlling input \`terminal'," 1>&2 - echo "so it may not be run via rsh" 1>&2 - exit 77 -fi +# Make sure there's a tty on stdin. +. $srcdir/input-tty # Versions of GNU stty from shellutils-1.9.2c and earlier failed # tests #2 and #4 when run on SunOS 4.1.3. |