This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
podcheck.t: Try harder to avoid transitory failure
authorKarl Williamson <public@khwilliamson.com>
Tue, 27 Mar 2012 04:20:59 +0000 (22:20 -0600)
committerKarl Williamson <public@khwilliamson.com>
Wed, 23 May 2012 23:34:34 +0000 (17:34 -0600)
commit84d2ce66f95caecdadf311bc8c60c299e0b5f043
tree72dc874008d5a167966b882d79f8766ec25ee6fa
parentc66a5b89dc20f73ffa192444cde91b3441d37cb7
podcheck.t: Try harder to avoid transitory failure

It may be that a file that looks like a pod is transitory.  podcheck.t
catches and handles some of these, but there are cases where it doesn't
catch these.  This commit adds code to try harder to detect such
instances and recover properly.

I know of two instances in the months since this code has been in
service where this has happened, so it's not a common occurrence, and
re-running it makes the failure go away.  Still, if it can be easily
avoided, do so.
t/porting/podcheck.t