Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 99f4a0c7fe30e80bc0c8d9be78b37f97292757c3
https://github.com/Perl/perl5/commit/99f4a0c7fe30e80bc0c8d9be78b37f97292757c3
Author: Yves Orton <[email protected]>
Date: 2023-01-04 (Wed, 04 Jan 2023)
Changed paths:
M ext/File-Find/t/taint.t
Log Message:
-----------
File-Find/t/taint.t - do not use rel2abs after we have forced to Unix mode
taint.t corrupts @INC, by using rel2abs twice on its values, once after
we have forced File::Spec to think we are on a *nix style platform. This
breaks use statements that occur after the second rel2abs. Comparing to
File-Find/t/find.t which also does this we can see that find.t only does
this rel2abs on @INC behavior once. Presumably the second call was a
rebase error of some sort.
This reorganizes the use statements and ensures that we only use
rel2abs() to change @INC prior to overriding it to use *nix semantics.
Commit: 01a4a6089e5123dac13f1d1eeae071fc6cec251b
https://github.com/Perl/perl5/commit/01a4a6089e5123dac13f1d1eeae071fc6cec251b
Author: Yves Orton <[email protected]>
Date: 2023-01-04 (Wed, 04 Jan 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/t - use File::Temp to create a private test directory to prevent
race conditions
The tests have been reported as not being parallel safe. Running
the tests twice at the same time reveals they dont use a process
private directory, so in theory they could race with something else.
Compare: https://github.com/Perl/perl5/compare/da66f78dd1be...01a4a6089e51