Skip Menu |

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

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

People
Owner: SAPER [...] cpan.org
Requestors: hio [...] hio.jp
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.12
Fixed in: 0.13



Subject: t/05-dump.t failed
make test failed at t/05-dump, #3. it is because parameter of pcap_dump xsub was changed. t/05-dump...........NOK 3 # Failed test 'calling dump() with no argument' # in t/05-dump.t at line 40. # expecting: /^Usage: Net::Pcap::dump\(p, h, sp\)/ # found: Usage: Net::Pcap::dump(p, pkt_header, sp) at t/05-dump.t line 39. # Looks like you failed 1 test of 240. t/05-dump...........dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 3 Failed 1/240 tests, 99.58% okay
Subject: Net-Pcap-0.12-t05.patch
diff -urN Net-Pcap-0.12.orig/t/05-dump.t Net-Pcap-0.12/t/05-dump.t --- Net-Pcap-0.12.orig/t/05-dump.t 2005-12-27 23:15:32.000000000 +0900 +++ Net-Pcap-0.12/t/05-dump.t 2006-04-11 19:02:47.000000000 +0900 @@ -37,7 +37,7 @@ # dump() errors throws_ok(sub { Net::Pcap::dump() - }, '/^Usage: Net::Pcap::dump\(p, h, sp\)/', + }, '/^Usage: Net::Pcap::dump\(p, pkt_header, sp\)/', "calling dump() with no argument"); throws_ok(sub {
Subject: Re: [rt.cpan.org #18671] t/05-dump.t failed
Date: Wed, 12 Apr 2006 09:35:28 +0200
To: bug-Net-Pcap [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
Show quoted text
> make test failed at t/05-dump, #3. > it is because parameter of pcap_dump xsub was changed.
Thanks for the report. This has already been fixed in the upcoming version 0.13 -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.