summaryrefslogtreecommitdiff
path: root/lib/File
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2008-05-23 15:50:14 +0000
committerCraig A. Berry <craigberry@mac.com>2008-05-23 15:50:14 +0000
commit32d6804057169aca603de4c89334205f9a70b96e (patch)
tree9251b021cc6ee9483b74d8e8c29cf6b632f136b8 /lib/File
parentb8e1b25f6acbcb71886d63fac10751aa8dbe04b9 (diff)
downloadperl-32d6804057169aca603de4c89334205f9a70b96e.tar.gz
File::Copy does not copy source file permissions to the target file
on VMS (it never has, but the new tests expected it to). p4raw-id: //depot/perl@33916
Diffstat (limited to 'lib/File')
-rwxr-xr-xlib/File/Copy.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/File/Copy.t b/lib/File/Copy.t
index 1107f53bf0..0868ea9b35 100755
--- a/lib/File/Copy.t
+++ b/lib/File/Copy.t
@@ -226,7 +226,10 @@ for my $cross_partition_test (0..1) {
}
-{
+SKIP: {
+
+ skip "-- Copy preserves RMS defaults, not source file permissions.", 21 if $^O eq 'VMS';
+
# Just a sub to get better failure messages.
sub __ ($) {
join "" => map {(qw [--- --x -w- -wx r-- r-x rw- rwx]) [$_]}