avoid "insecure rcfile" warning from test
[p5sagit/Devel-Declare.git] / t / debug.t
index 9373421..543f463 100644 (file)
--- a/t/debug.t
+++ b/t/debug.t
@@ -17,6 +17,7 @@ $ENV{DD_DEBUG} = 1;
 cwd("$Bin/..");
 
 # Write a .perldb file so we make sure we dont use the users one
+umask 077;
 open PERLDB, ">", "$Bin/../.perldb" or die "Cannot open $Bin/../.perldb: $!";
 close PERLDB;