diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Term/Complete.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Term/Complete.t b/lib/Term/Complete.t index b73baf0c90..bfff3fb2cb 100644 --- a/lib/Term/Complete.t +++ b/lib/Term/Complete.t @@ -11,7 +11,7 @@ use vars qw( $Term::Complete::complete $complete ); my $restore; SKIP: { - skip('PERL_SKIP_TTY_TEST', 8) if $ENV{PERL_SKIP_TTY_TEST}; + skip('PERL_SKIP_TTY_TEST', 8) if $ENV{PERL_SKIP_TTY_TEST} or !(-t STDIN); my $TTY; if ($^O eq 'rhapsody' && -c "/dev/ttyp0") { $TTY = "/dev/ttyp0" } |