Skip Menu |

This queue is for tickets about the Net-Pcap CPAN distribution.

Report information
The Basics
Id: 73214
Status: resolved
Priority: 0/
Queue: Net-Pcap

People
Owner: Nobody in particular
Requestors: craig_davison2001 [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.16
Fixed in: 0.17



Subject: t/03-openlive.t fails in openSUSE 12.1 (patch)
'make test' fails on 03-openlive.t. It appears to be doing a string match on an expected error message that fails. I updated the regex match in the attached patch.
Subject: 03-openlive.t.patch
--- 03-openlive.t 2011-12-12 16:38:11.654454889 -0700 +++ new/03-openlive.t 2011-12-12 16:38:00.902592858 -0700 @@ -67,7 +67,7 @@ } elsif($^O eq 'darwin' or $^O eq 'freebsd' or $^O eq 'openbsd') { like( $err, "/^(?:BIOCSETIF: )?$fakedev: Device not configured/", " - \$err must be set: $err" ); } else { - like( $err, '/^(?:bind|ioctl|SIOCGIFHWADDR): (?:No such device)/', " - \$err must be set: $err" ); + like( $err, '/(?:bind|ioctl|SIOCGIFHWADDR): (?:No such device)/', " - \$err must be set: $err" ); } is( $pcap, undef, " - \$pcap isn't defined" ); $err = '';
Subject: Re: [rt.cpan.org #73214] t/03-openlive.t fails in openSUSE 12.1 (patch)
Date: Wed, 28 Nov 2012 21:44:36 +0100
To: bug-Net-Pcap [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
Craig Davison wrote via RT: Show quoted text
> 'make test' fails on 03-openlive.t. It appears to be doing a string > match on an expected error message that fails. I updated the regex match > in the attached patch.
This bug was resolved in release 0.17 by removing the regexp and more simply checking that the error string is defined. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.