1 # This test is used from at least two separate scripts.
3 tty -s || have_input_tty=no
4 if test "$have_input_tty" = no; then
5 echo "$0: This test must have a controlling input \`terminal'," 1>&2
6 echo " so it may not be run via \`batch', \`at', or \`rsh'." 1>&2