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 {