stas 02/05/19 13:07:28
Modified: perl-framework/Apache-Test/lib/Apache TestConfig.pm
Log:
revert the incorrect change, it wasn't broken
Revision Changes Path
1.135 +1 -1
httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm
Index: TestConfig.pm
===================================================================
RCS file:
/home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -r1.134 -r1.135
--- TestConfig.pm 19 May 2002 07:56:31 -0000 1.134
+++ TestConfig.pm 19 May 2002 20:07:28 -0000 1.135
@@ -7,7 +7,7 @@
use constant CYGWIN => $^O eq 'cygwin';
use constant NETWARE => $^O eq 'NetWare';
use constant WINFU => WIN32 || CYGWIN || NETWARE;
-use constant COLOR => $ENV{APACHE_TEST_COLOR} ? 1 : 0;
+use constant COLOR => ($ENV{APACHE_TEST_COLOR} && -t STDOUT) ? 1 : 0;
use constant DEFAULT_PORT => 8529;