This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Silence verbosity in lib/File/Copy.t during 'make test' in core
authorJerry D. Hedden <jdhedden@cpan.org>
Mon, 26 Jan 2009 19:25:32 +0000 (14:25 -0500)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 27 Jan 2009 07:12:23 +0000 (08:12 +0100)
lib/File/Copy.t

index 7081f5e..2ac93a6 100755 (executable)
@@ -284,8 +284,8 @@ SKIP: {
 
             $s_perm  |= $id << 9;
             $c_perm1 |= $id << 9;
-            diag sprintf "Src permission: %04o; umask %03o\n", $s_perm, $umask;
-
+            diag(sprintf "Src permission: %04o; umask %03o\n", $s_perm, $umask)
+                unless ($ENV{PERL_CORE});
             (umask $umask) // die $!;
             chmod $s_perm  => $src   or die sprintf "$!: $src => %o", $s_perm;
             chmod $c_perm3 => $copy3 or die $!;