Skip Menu |

This queue is for tickets about the Parse-Netstat-Search CPAN distribution.

Report information
The Basics
Id: 129268
Status: resolved
Priority: 0/
Queue: Parse-Netstat-Search

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc: mrsam [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.2.1
Fixed in: (no value)



CC: mrsam [...] cpan.org
Subject: t/search.t started to fail (with newest Net::CIDR?)
The test suite started to fail on my smokers: ... # Failed test 'IPv6 CIDR search 1' # at t/search.t line 184. # "5" number of returned connections for ::/0 instead of "0" # Failed test 'IPv6 % removal test' # at t/search.t line 185. # "local_pp" not defined for removed % section of IPv6 address. "lo0" expected # Failed test 'Mixed IPv4/6 CIDR search 1' # at t/search.t line 190. # "5" number of returned connections for ::/0,192.168.0.0/16 instead of "1" # Looks like you failed 3 tests of 23. t/search.t ........ Dubious, test returned 3 (wstat 768, 0x300) Failed 3/23 subtests ... Statistical analysis suggests that this happens if the recent Net::CIDR version 0.20 is installed (theta = -1 means "bad"): **************************************************************** Regression 'mod:Net::CIDR' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 4339335541216994.50 [1='eq_0.18'] -0.0000 0.0000 -0.68 [2='eq_0.19'] 0.0000 0.0000 0.00 [3='eq_0.20'] -1.0000 0.0000 -4175527571376238.00 R^2= 1.000, N= 140, K= 4 ****************************************************************
Just uploaded 0.2.2 which fixes this. Everything works as expected, but the test was failing as Net::CIDR now treats ::/0 and 0.0.0.0/0 as the same.