dougm 01/12/20 19:13:37
Modified: perl-framework/t/modules include.t
Log:
get mod_include tests working on win32 again
Revision Changes Path
1.14 +13 -0 httpd-test/perl-framework/t/modules/include.t
Index: include.t
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/t/modules/include.t,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- include.t 2001/12/01 19:54:56 1.13
+++ include.t 2001/12/21 03:13:37 1.14
@@ -5,6 +5,8 @@
use Apache::TestRequest;
use Apache::TestUtil;
+use constant WINFU => Apache::TestConfig::WINFU;
+
## mod_include tests
my ($doc);
my $dir = "/modules/include/";
@@ -52,6 +54,11 @@
"exec/on/cmd.shtml" => "pass"
);
+#this test does not work on win32 (<!--#exec cmd="echo pass"-->)
+if (WINFU) {
+ delete $test{'exec/on/cmd.shtml'};
+}
+
#
# in addition to $tests, there is 1 GET test, 9 XBitHack tests,
# and 2 exec cgi tests
@@ -93,6 +100,12 @@
}
}
+if (WINFU) {
+ for (1..9) {
+ skip "Skipping XBitHack tests on this platform", 1;
+ }
+ exit;
+}
### XBITHACK TESTS
# test xbithack off