Silence verbosity in lib/File/Copy.t during 'make test' in core
Jerry D. Hedden [Mon, 26 Jan 2009 19:25:32 +0000 (14:25 -0500)]
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 $!;