diff options
author | Salvatore Bonaccorso <carnil@debian.org> | 2013-10-23 13:21:06 +0200 |
---|---|---|
committer | Salvatore Bonaccorso <carnil@debian.org> | 2013-10-23 13:21:06 +0200 |
commit | 81cd3fa9f15b9dab1574fb8bd6512a3895a7bb30 (patch) | |
tree | 901c155c4ef7291195e920698b3f60ae013570e5 /test.pl | |
parent | 42ee19e60876cfb50ec9471dd6236802e4ad7772 (diff) |
Imported Upstream version 1.7.1+dfsg
Diffstat (limited to 'test.pl')
-rwxr-xr-x | test.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,8 +15,8 @@ use blib; use Quota; -if (! -t) { - print STDERR "\nThis is an interactive test script - input must be a tty\nExiting now.\n"; +if (! -t STDIN || ! -t STDOUT) { + print STDERR "\nThis is an interactive test script - input and output must be a tty\nExiting now.\n"; exit; } if ($ENV{AUTOMATED_TESTING}) { |