jwoolley 02/04/22 00:57:37
Modified: perl-framework/t/modules cgi.t
Log:
Accomodate 1.3.x
Revision Changes Path
1.12 +4 -0 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.11
retrieving revision 1.12
diff -u -d -u -r1.11 -r1.12
--- cgi.t 22 Apr 2002 07:51:05 -0000 1.11
+++ cgi.t 22 Apr 2002 07:57:37 -0000 1.12
@@ -6,6 +6,8 @@
use Apache::TestUtil;
use File::stat;
+my $have_apache_2 = have_apache 2;
+
## mod_cgi test
##
## extra.conf.in:
@@ -70,6 +72,8 @@
#XXX: find something that'll on other platforms (/bin/sh aint it)
if (Apache::TestConfig::WINFU()) {
delete @test{qw(sh.sh bogus-sh.sh)};
+}
+if (Apache::TestConfig::WINFU() || !$have_apache_2) {
delete @test{qw(acceptpathinfoon.sh acceptpathinfoon.sh/foo)};
delete @test{qw(acceptpathinfooff.sh acceptpathinfooff.sh/foo)};
delete @test{qw(acceptpathinfodefault.sh acceptpathinfodefault.sh/foo)};