mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-21 03:12:48 +02:00
moved from stty/~
This commit is contained in:
8
tests/input-tty
Normal file
8
tests/input-tty
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user