On 2015-09-08 17:29:37, SREZIC wrote:
Show quoted text> On 2015-09-08 17:25:20, SREZIC wrote:
> > Test suite fails if File::Rsync 0.46 is installed:
> >
> > rsync failed at t/001.t line 28.
> > # Looks like you planned 3 tests but ran 2.
> > # Looks like your test exited with 25 just after 2.
> > t/001.t ..
> > Dubious, test returned 25 (wstat 6400, 0x1900)
> > Failed 1/3 subtests
>
> Maybe related to:
>
https://rt.cpan.org/Ticket/Display.html?id=106942
With File::Rsync 0.47 the test suite does not fail anymore.
However, to prevent unnecessary fail reports and puzzled users who have File::Rsync 0.46 installed, it's probably good to have something like this in Makefile.PL:
my $min_file_rsync_version = '0.42';
if (eval { require File::Rsync; $File::Rsync::VERSION eq '0.46') {
$min_file_rsync_version = '0.47';
}
...
PREREQ_PM => {
...
'File::Rsync' => $min_file_rsync_version,
...
}