Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 5d4d8b9fa5103e3bd911bb1ab9e94eb6d8e0ff28
https://github.com/Perl/perl5/commit/5d4d8b9fa5103e3bd911bb1ab9e94eb6d8e0ff28
Author: Yves Orton <[email protected]>
Date: 2023-02-09 (Thu, 09 Feb 2023)
Changed paths:
M ext/File-Find/lib/File/Find.pm
M ext/File-Find/t/find.t
M ext/File-Find/t/lib/Testing.pm
M ext/File-Find/t/taint.t
Log Message:
-----------
File-Find - set up tempdir early and test that we can chdir to it.
If for some reason we die very early in the test script the cleanup()
function would get called before we had set up $test_root_dir or
$test_temp_dir. This then lead to further errors being generated by trying
to chdir into an undefined directory. This patch ensures that the various
setup behavior worked correctly, and that if it does not that we have some
clear diagnostics about it.