diff options
author | Craig A. Berry <craigberry@mac.com> | 2006-01-21 17:05:07 +0000 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2006-01-21 17:05:07 +0000 |
commit | 1bd1db6feafb0e0b6bfb34267e8489cdec623282 (patch) | |
tree | 397b7e6ea231613b94019a7b07a98b17b7e4d68e | |
parent | 2593c6c6ec6db0c4fc4ec479ff2dcc27740704c8 (diff) | |
download | perl-1bd1db6feafb0e0b6bfb34267e8489cdec623282.tar.gz |
Make Manifest.t do what is says it's doing.
p4raw-id: //depot/perl@26919
-rw-r--r-- | lib/ExtUtils/t/Manifest.t | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/ExtUtils/t/Manifest.t b/lib/ExtUtils/t/Manifest.t index bba68439ad..47e555b76b 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'); |