On Mon Feb 16 23:14:03 2009, ANDK wrote:
Show quoted text> Hi David,
>
> while watching cpan testers results I discovered fail reports against
> Net::Netmask who had in common that they had nvsize != 8.
>
> You can build such systems on 64bit systems when compiling perl with
> -Duselongdouble. There may be other ways to build such systems, I
> haven't investigated that.
>
> But I have verified on one of my smoker boxes. The result is:
>
> t/netmasks (Wstat: 0 Tests: 282 Failed: 6)
> Failed tests: 132, 135, 260, 262, 269-270
>
> HTH, Thank you,
With the test script from #57145, this becomes:
t/netmasks.t .......... 1/282
# Failed test at t/netmasks.t line 239.
# got: '216.240.32.128/25 216.240.33.0/24 216.240.34.0/23
216.240.36.0/26 216.240.36.64/26'
# expected: '216.240.32.128/25 216.240.33.0/24 216.240.34.0/23
216.240.36.0/25'
# Failed test at t/netmasks.t line 249.
# got: '216.240.36.0/26'
# expected: '216.240.36.0/25'
# Failed test at t/netmasks.t line 462.
# got: '216.240.32.0/24 216.240.33.0/26 216.240.33.64/26
216.240.34.0/24'
# expected: '216.240.32.0/24 216.240.33.0/25 216.240.34.0/24'
# Failed test at t/netmasks.t line 471.
# got: '216.240.32.0/24 216.240.33.0/26 216.240.33.64/26
216.240.34.0/24'
# expected: '216.240.32.0/24 216.240.33.0/25 216.240.34.0/24'
# Failed test at t/netmasks.t line 495.
# got: '216.240.33.128/26 216.240.33.192/26 216.240.35.0/24'
# expected: '216.240.33.128/25 216.240.35.0/24'
# Failed test at t/netmasks.t line 499.
# got: '216.240.33.128/26 216.240.33.192/26 216.240.35.0/24'
# expected: '216.240.33.128/25 216.240.35.0/24'
# Looks like you failed 6 tests of 282.
t/netmasks.t .......... Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/282 subtests
and so it looks like certain operations are outputting a correct, but
sub-optimal list of subnets (216.240.33.128/26 + 216.240.33.192/26 is
equivalent to 216.240.33.128/25, for example).