From: Jerry D. Hedden Date: Fri, 9 May 2008 13:06:14 +0000 (-0400) Subject: Re: Change 33794: [PATCH] File::Copy & permission bits. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c4e1003e21a03c8b750af9b5a06acf110113674a;p=p5sagit%2Fp5-mst-13.2.git Re: Change 33794: [PATCH] File::Copy & permission bits. From: "Jerry D. Hedden" Message-ID: <1ff86f510805091006s1faa2d05lcaa3b6383b7fb603@mail.gmail.com> p4raw-id: //depot/perl@33804 --- diff --git a/lib/File/Copy.t b/lib/File/Copy.t index d616b86..1107f53 100755 --- a/lib/File/Copy.t +++ b/lib/File/Copy.t @@ -274,7 +274,10 @@ for my $cross_partition_test (0..1) { my $perm3 = (stat $copy3) [2] & 0xFFF; is (__$perm1, __$c_perm1, "Permission bits set correctly"); is (__$perm2, __$c_perm1, "Permission bits set correctly"); - is (__$perm3, __$c_perm3, "Permission bits not modified"); + TODO: { + local $TODO = 'Permission bits inconsistent under cygwin' if $^O eq 'cygwin'; + is (__$perm3, __$c_perm3, "Permission bits not modified"); + } } umask $old_mask or die $!;