Branch: refs/heads/yves/more_ff_test_fixes
Home: https://github.com/Perl/perl5
Commit: 8c2183baeb50f1bcde8ade3644ae9fcbaf397c1b
https://github.com/Perl/perl5/commit/8c2183baeb50f1bcde8ade3644ae9fcbaf397c1b
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/taint.t
Log Message:
-----------
File-Find - set up tempdir early and test that we could 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.