httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@covalent.net>
Subject Re: Outch(es) on Win32 perl-framework
Date Wed, 17 Oct 2001 02:00:13 GMT
bill, try the patch below.  it should force File::Spec functions and
anything that uses them (Apache::Test*, File::Find, etc.) to use unix
/path/file.ext conventions.

Index: Apache-Test/lib/Apache/TestRun.pm
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm,v
retrieving revision 1.58
diff -u -r1.58 TestRun.pm
--- Apache-Test/lib/Apache/TestRun.pm	2001/10/17 01:30:40	1.58
+++ Apache-Test/lib/Apache/TestRun.pm	2001/10/17 01:47:55
@@ -3,6 +3,12 @@
 use strict;
 use warnings FATAL => 'all';
 
+BEGIN {
+    $INC{'File/Spec.pm'} = __FILE__;
+    require File::Spec::Unix;
+    @File::Spec::ISA = qw(File::Spec::Unix);
+}
+
 use Apache::TestConfig ();
 use Apache::TestConfigC ();
 use Apache::TestRequest ();




Mime
View raw message