Branch: refs/heads/yves/more_ff_test_fixes
  Home:   https://github.com/Perl/perl5
  Commit: 10f51611a49758378284375c4af9d0b746ab20e8
      
https://github.com/Perl/perl5/commit/10f51611a49758378284375c4af9d0b746ab20e8
  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.


Reply via email to