You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-cvs@httpd.apache.org by jo...@apache.org on 2004/06/16 17:09:19 UTC
cvs commit: httpd-test/perl-framework/t/modules cgi.t
jorton 2004/06/16 08:09:19
Modified: perl-framework/t/modules cgi.t
Log:
Test CGI stderr handling in 2.0.50 and later.
Revision Changes Path
1.15 +3 -4 httpd-test/perl-framework/t/modules/cgi.t
Index: cgi.t
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/t/modules/cgi.t,v
retrieving revision 1.14
retrieving revision 1.15
diff -d -w -u -r1.14 -r1.15
--- cgi.t 5 May 2004 15:52:56 -0000 1.14
+++ cgi.t 16 Jun 2004 15:09:19 -0000 1.15
@@ -7,7 +7,7 @@
use File::stat;
my $have_apache_2 = have_apache 2;
-my $have_apache_21 = have_min_apache_version "2.1.0";
+my $have_apache_2050 = have_min_apache_version "2.0.50";
## mod_cgi test
##
@@ -100,9 +100,8 @@
delete @test{qw(acceptpathinfodefault.sh acceptpathinfodefault.sh/foo)};
}
-# CGI stderr handling is broken in 2.0 on all platforms, and fixed
-# in 2.1 only on Unixes.
-if ($have_apache_2 && (!$have_apache_21 || Apache::TestConfig::WINFU())) {
+# CGI stderr handling works in 2.0.50 and later only on Unixes.
+if (!$have_apache_2050 || Apache::TestConfig::WINFU()) {
delete @test{qw(stderr1.pl stderr2.pl stderr3.pl nph-stderr.pl)};
}