summaryrefslogtreecommitdiff
path: root/cpan/List-Util
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2009-10-15 10:59:09 -0500
committerCraig A. Berry <craigberry@mac.com>2009-10-15 10:59:09 -0500
commit7fa7b0adb97886e2a8e02b65c9e10f9872651150 (patch)
treea2f7f3b3f378d44e0a39c1c5dbaeeec7b5b61af2 /cpan/List-Util
parent74c2567ea04065ba1e35ab395fe543042852be14 (diff)
downloadperl-7fa7b0adb97886e2a8e02b65c9e10f9872651150.tar.gz
Make p_tainted.t find its tests on VMS.
Reported upstream at: https://rt.cpan.org/Ticket/Display.html?id=50528
Diffstat (limited to 'cpan/List-Util')
-rw-r--r--cpan/List-Util/t/p_tainted.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpan/List-Util/t/p_tainted.t b/cpan/List-Util/t/p_tainted.t
index eda5929112..6a4cd22242 100644
--- 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 $@;