From b66c78c2365729e4731e01281dc33998347eeee0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 17 Aug 1999 10:13:27 +0000 Subject: [PATCH] *** empty log message *** --- tests/stty/input-tty | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/stty/input-tty diff --git a/tests/stty/input-tty b/tests/stty/input-tty new file mode 100644 index 0000000000..7353aaefd0 --- /dev/null +++ b/tests/stty/input-tty @@ -0,0 +1,8 @@ +# This test is used from at least two separate scripts. + +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 \`batch', \`at', or \`rsh'." 1>&2 + exit 77 +fi -- 2.47.3