This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Restore ada6eeb82df60fbe63c781f1a102393fd56d104b.
authorCraig A. Berry <craigberry@mac.com>
Wed, 16 Mar 2011 02:41:25 +0000 (21:41 -0500)
committerCraig A. Berry <craigberry@mac.com>
Wed, 16 Mar 2011 12:13:30 +0000 (07:13 -0500)
which was clobbered by 149d510d6e1a1cffb86aac23789fcb26ff67ffa9,
and is still awaiting upstream integration at:

https://rt.cpan.org/Ticket/Display.html?id=64353

cpan/Test-Harness/t/source.t

index 77f6184..92bf4a1 100644 (file)
@@ -9,10 +9,7 @@ use strict;
 use Test::More tests => 45;
 use File::Spec;
 
-my $dir = File::Spec->catdir(
-    't',
-    'source_tests'
-);
+my $dir = 't/source_tests';
 
 use_ok('TAP::Parser::Source');
 
@@ -236,6 +233,7 @@ sub ct($) {
 # symlink test
 SKIP: {
     my $symlink_exists = eval { symlink( '', '' ); 1 };
+    $symlink_exists = 0 if $^O eq 'VMS'; # exists but not ready for prime time
     skip 'symlink not supported on this platform', 9 unless $symlink_exists;
 
     my $test    = File::Spec->catfile( $dir, 'source.t' );