diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-09-13 12:44:28 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-09-13 12:44:28 +0000 |
commit | da78de512ffaf1836cf116b24b428d056b77b8a4 (patch) | |
tree | e11c93a55f380f45962120f625a5e421d19a4b56 /lib/Term | |
parent | cae16f1a7abda22927271673793d2853dfb8f82f (diff) | |
download | perl-da78de512ffaf1836cf116b24b428d056b77b8a4.tar.gz |
Skip the test if not running on a tty.
p4raw-id: //depot/perl@12010
Diffstat (limited to 'lib/Term')
-rw-r--r-- | lib/Term/Complete.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Term/Complete.t b/lib/Term/Complete.t index ff62d1d871..99f206e170 100644 --- a/lib/Term/Complete.t +++ b/lib/Term/Complete.t @@ -1,6 +1,7 @@ #!./perl BEGIN { + print "1..0 # Skip: not a tty\n" unless -t STDOUT; chdir 't' unless -d 't'; @INC = '../lib'; } |