Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: cd [...] securityfocus.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 0.11
  • 0.14
  • 0.15_01
Fixed in: 0.15



Subject: t/03-openlive failure, Linux
Hi, The openlive test fails on my openSUSE 10.3 machine in the "Testing open_live() with fake device name" section. The reason is that the expected error message is not recognized. Here is a patch for line 70 of 03-openlive.t (Net::Pcap 0.15_01): < like( $err, '/^(?:bind|ioctl): (?:No such device)/', " - \$err must be set: $err" ); Show quoted text
> like( $err, '/^(?:bind|ioctl|SIOCGIFHWADDR): (?:No such device)/',
" - \$err must be set: $err" ); BTW I have libpcap 0.9.7 installed. Thanks
Subject: Re: [rt.cpan.org #30903] t/03-openlive failure, Linux
Date: Thu, 22 Nov 2007 02:25:40 +0100
To: bug-Net-Pcap [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
Show quoted text
> Hi, > The openlive test fails on my openSUSE 10.3 machine in the "Testing > open_live() with fake device name" section. The reason is that the > expected error message is not recognized. > > Here is a patch for line 70 of 03-openlive.t (Net::Pcap 0.15_01): > < like( $err, '/^(?:bind|ioctl): (?:No such device)/', " - \$err > must be set: $err" );
>> like( $err, '/^(?:bind|ioctl|SIOCGIFHWADDR): (?:No such >> device)/',
> " - \$err must be set: $err" );
Thanks, applied. But I advise you to send patches in unified format (diff -u) instead of traditional format. It's easier to read and apply. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.
From: cd [...] securityfocus.com
Thanks!