Branch: refs/heads/yves/fix_ff_cleanup_race
Home: https://github.com/Perl/perl5
Commit: 1dde95e3e7fea09ce996772c6ef2d5a2435b2d6e
https://github.com/Perl/perl5/commit/1dde95e3e7fea09ce996772c6ef2d5a2435b2d6e
Author: Yves Orton <[email protected]>
Date: 2023-01-30 (Mon, 30 Jan 2023)
Changed paths:
M ext/File-Find/t/find.t
M ext/File-Find/t/taint.t
Log Message:
-----------
File-Find/t - rework tempdir creation and cleanup
Fixes #20734 - in a previous patch I missed the early cleanup call
and the fact that it could result in a race condition. This hopefully
resolves the problem.
These tests files are pretty crufty. It would be nice to see them split
apart so that the "sanity" checks which expect to be run in t/ are
executed in a separate test files from the checks which build a tree to
traverse for testing. A perfect task for a new contributor.