Skip the test if not running on a tty.
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 13 Sep 2001 12:44:28 +0000 (12:44 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 13 Sep 2001 12:44:28 +0000 (12:44 +0000)
p4raw-id: //depot/perl@12010

lib/Term/Complete.t

index ff62d1d..99f206e 100644 (file)
@@ -1,6 +1,7 @@
 #!./perl
 
 BEGIN {
+       print "1..0 # Skip: not a tty\n" unless -t STDOUT;
        chdir 't' unless -d 't';
        @INC = '../lib';
 }