This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
find.t: Use temporary testing directory for all blocks of tests.
authorJames E Keenan <jkeenan@cpan.org>
Wed, 16 Jan 2019 15:56:44 +0000 (10:56 -0500)
committerJames E Keenan <jkeenan@cpan.org>
Wed, 23 Jan 2019 20:13:30 +0000 (15:13 -0500)
commit0abd1628824e7e5b7d6df370fcf5c143bf2dab8d
tree8d9817d65095782aab697882491c841f3a4d4daa
parent43c6a1a7c444b2b6f513c4716e9bc2e3468c244d
find.t: Use temporary testing directory for all blocks of tests.

During the execution of ext/File-Find/t/taint.t certain files and directories
are created.  As inferred from smoke-test reports, when testing in parallel
these entities ran the risk of being detected by certain tests in
ext/File-Find/t/find.t, thereby causing intermittent failures in the smoke
tests.

Problem is being addressed by (a) moving the block of tests created in August 2014
(RT #122547) to prevent processing of misspelled options to a place in the
file where we have moved from the current working directory one level down to
a temporary testing directory; and (b) providing a list of basenames of files
we expect to find therewithin.
ext/File-Find/t/find.t