From: Craig A. Berry Date: Sat, 21 Jan 2006 17:05:07 +0000 (+0000) Subject: Make Manifest.t do what is says it's doing. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1bd1db6feafb0e0b6bfb34267e8489cdec623282;p=p5sagit%2Fp5-mst-13.2.git Make Manifest.t do what is says it's doing. p4raw-id: //depot/perl@26919 --- diff --git a/lib/ExtUtils/t/Manifest.t b/lib/ExtUtils/t/Manifest.t index bba6843..47e555b 100644 --- a/lib/ExtUtils/t/Manifest.t +++ b/lib/ExtUtils/t/Manifest.t @@ -150,8 +150,16 @@ is_deeply( [sort map { lc } @copies], [sort map { lc } keys %$files] ); foreach my $orig (@copies) { my $copy = "copy/$orig"; ok( -r $copy, "$copy: must be readable" ); - is( -w $copy, -w $orig, " writable if original was" ); - is( -x $copy, -x $orig, " executable if original was" ); + + SKIP: { + skip " original was not writable", 1 unless -w $orig; + ok(-w $copy, " writable if original was" ); + } + + SKIP: { + skip " original was not executable", 1 unless -x $orig; + ok(-x $copy, " executable if original was" ); + } } rmtree('copy');