mirror of
https://github.com/Perl/perl5.git
synced 2026-01-28 10:24:48 +00:00
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.