This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74c2567
)
Make p_tainted.t find its tests on VMS.
author
Craig A. Berry
<craigberry@mac.com>
Thu, 15 Oct 2009 15:59:09 +0000
(10:59 -0500)
committer
Craig A. Berry
<craigberry@mac.com>
Thu, 15 Oct 2009 15:59:09 +0000
(10:59 -0500)
Reported upstream at:
https://rt.cpan.org/Ticket/Display.html?id=50528
cpan/List-Util/t/p_tainted.t
patch
|
blob
|
blame
|
history
diff --git
a/cpan/List-Util/t/p_tainted.t
b/cpan/List-Util/t/p_tainted.t
index
eda5929
..
6a4cd22
100644
(file)
--- a/
cpan/List-Util/t/p_tainted.t
+++ b/
cpan/List-Util/t/p_tainted.t
@@
-6,7
+6,7
@@
use File::Spec;
$List::Util::TESTING_PERL_ONLY = $List::Util::TESTING_PERL_ONLY = 1;
(my $f = __FILE__) =~ s/p_//;
-my $filename =
$^O eq 'MSWin32'
+my $filename =
($^O eq 'MSWin32' || $^O eq 'VMS')
? File::Spec->rel2abs(File::Spec->catfile(".", $f))
: File::Spec->catfile(".", $f);
do $filename; die $@ if $@;