Branch: refs/heads/yves/more_ff_test_fixes
Home: https://github.com/Perl/perl5
Commit: 773523190687f326a66f501fbe53989dec5dd384
https://github.com/Perl/perl5/commit/773523190687f326a66f501fbe53989dec5dd384
Author: Yves Orton <[email protected]>
Date: 2023-02-10 (Fri, 10 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.