diff options
author | Nix <nix@esperi.org.uk> | 2009-02-10 08:04:23 +0000 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-02-10 14:38:42 +0100 |
commit | 9c8e4f69181b1fc8d55accf803761425ba2d8cbf (patch) | |
tree | 81a8e87742e5ac42ef7b3f4ce87840093abe1117 /tests | |
parent | ed85df444a92a64bd63e85404719df99afb7381e (diff) | |
download | coreutils-9c8e4f69181b1fc8d55accf803761425ba2d8cbf.tar.xz |
tests: avoid skipping stty-* tests
* tests/test-lib.sh (require_controlling_input_terminal_):
Check stdout, not stdin.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-lib.sh b/tests/test-lib.sh index 8bb88d974..0c04af827 100644 --- a/tests/test-lib.sh +++ b/tests/test-lib.sh @@ -68,7 +68,7 @@ require_strace_() require_controlling_input_terminal_() { tty -s || have_input_tty=no - test -t 1 || have_input_tty=no + test -t 0 || 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 |