Show quoted text> On Jan 28, 2015, at 1:22 PM, Olof Johansson via RT <bug-Parse-DNS-Zone@rt.cpan.org> wrote:
>
> Its usage is conditional:
>
> ....
> eval {
> require Test::Distribution;
> };
The problem is that this approach only answers “Is Test::Distribution” installed. It does not answer “what version is installed?” So, if a server has an older Test::Distribution installed, it will still try to apply the tests. But in the end, they will fail.
Show quoted text>> Also, I've found that older versions of Test::Distribution will fail.
>
> In what way?
If you attempt to run regression tests on Parse::DNS::Zone using an older version of Test::Distribution, the tests will fail with the following output:
==> MISMATCHED content between MANIFEST and distribution files! <==
# Failed test 'Valid signature'
# at /usr/local/lib/perl5/site_perl/5.8.8/Test/Distribution.pm line 356.
# got: -5
# expected: 0
# Looks like you failed 1 test of 11.