In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/decea2297b3561540857fda67622f0c4a4df6099?hp=42327f062c1a45d590c71a5bceb2682cc200be1e>
- Log ----------------------------------------------------------------- commit decea2297b3561540857fda67622f0c4a4df6099 Author: David Mitchell <[email protected]> Date: Tue Oct 21 17:37:15 2014 +0100 porting/checkcase.t: suppress warnings Due to parallel testing, the find() in this test file can generate spurious warnings such as Can't opendir(./t/tmp7281B): No such file or directory at porting/checkcase.t line 37. Just turn off find's warnings for this test file. ----------------------------------------------------------------------- Summary of changes: t/porting/checkcase.t | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t/porting/checkcase.t b/t/porting/checkcase.t index 3c05e22..991f3c5 100644 --- a/t/porting/checkcase.t +++ b/t/porting/checkcase.t @@ -14,6 +14,10 @@ use File::Find; my %files; my $test_count = 0; +# in a parallel 'make test', temporary files and directories can +# randomly appear and disappear; don't complain about these +no warnings 'File::Find'; + find({no_chdir => 1, wanted => sub { my $name = $File::Find::name; # Assumes that the path separator is exactly one character. -- Perl5 Master Repository
