*** empty log message ***
authorJim Meyering <jim@meyering.net>
Tue, 17 Aug 1999 10:13:27 +0000 (10:13 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 17 Aug 1999 10:13:27 +0000 (10:13 +0000)
tests/stty/input-tty [new file with mode: 0644]

diff --git a/tests/stty/input-tty b/tests/stty/input-tty
new file mode 100644 (file)
index 0000000..7353aae
--- /dev/null
@@ -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