1
0
mirror of https://git.savannah.gnu.org/git/coreutils.git synced 2026-11-05 08:03:59 +03:00
Files
coreutils/tests/input-tty
2002-07-19 20:22:59 +00:00

9 lines
289 B
Plaintext

# 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; exit); exit
fi