From: Jim Meyering Date: Fri, 9 Mar 2001 18:21:29 +0000 (+0000) Subject: moved from stty/~ X-Git-Tag: FILEUTILS-4_0_42~82 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=c21430123df24081a889d6b19082021badfd1ab8;p=thirdparty%2Fcoreutils.git moved from stty/~ --- diff --git a/tests/input-tty b/tests/input-tty new file mode 100644 index 0000000000..7353aaefd0 --- /dev/null +++ b/tests/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