Some of the tests are trying to dynamically load modules on VMS.

The TestInit.pm overrides @INC with a path that only works if the test does not change the default directory on VMS.

This patch sets @INC to an absolute path so that changes of directories do not break dynamically loaded modules.

-John
[EMAIL PROTECTED]
Personal Opinion Only
--- /rsync_root/perl/t/TestInit.pm      Tue Jun 13 14:29:30 2006
+++ t/TestInit.pm       Fri Nov  2 22:52:20 2007
@@ -19,6 +19,8 @@
 
 chdir 't' if -d 't';
 @INC = '../lib';
+use File::Spec;
[EMAIL PROTECTED] = File::Spec->rel2abs('[-.lib]') if $^O eq 'VMS';
 
 # Don't interfere with the taintedness of %ENV, this could perturbate tests
 $ENV{PERL_CORE} = 1 unless ${^TAINT};

Reply via email to