summaryrefslogtreecommitdiff
path: root/tests/stty/input-tty
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-08-17 10:13:27 +0000
committerJim Meyering <jim@meyering.net>1999-08-17 10:13:27 +0000
commitb66c78c2365729e4731e01281dc33998347eeee0 (patch)
tree04da9c7643c1cb39ce891062bb51b19e1c7dd3cc /tests/stty/input-tty
parentb1d6d67405b7098b37a988c8eb7142450c3b2b37 (diff)
downloadcoreutils-b66c78c2365729e4731e01281dc33998347eeee0.tar.xz
*** empty log message ***
Diffstat (limited to 'tests/stty/input-tty')
-rw-r--r--tests/stty/input-tty8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/stty/input-tty b/tests/stty/input-tty
new file mode 100644
index 000000000..7353aaefd
--- /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