Bug 166698 - [patch] net/p5-Net-Pcap: fix tests
Summary: [patch] net/p5-Net-Pcap: fix tests
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-06 18:40 UTC by Rachel Flynn
Modified: 2012-05-09 12:22 UTC (History)
1 user (show)

See Also:


Attachments
net__p5-Net-Pcap.patch (2.62 KB, patch)
2012-04-06 18:40 UTC, Rachel Flynn
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rachel Flynn 2012-04-06 18:40:08 UTC
1) libpcap-1.0.0 no longer returns an error description for the case of a
   non-existing device. The test expects to see the 0.9.8 format.

2) When usbus devices are selected for the test, the tests will hang
   indefenitely. As such, filter out these devices.

Fix: While in here, add TEST_DEPENDS.
How-To-Repeat: 
cd /usr/ports/net/p5-Net-Pcap
make build
cd `make -V WRKSRC`
make test
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-04-06 18:40:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->clsung

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Steve Wills freebsd_committer freebsd_triage 2012-05-05 20:48:35 UTC
Responsible Changed
From-To: clsung->swills

I'll take it.
Comment 3 Steve Wills freebsd_committer freebsd_triage 2012-05-09 12:22:30 UTC
State Changed
From-To: open->closed

Committed. Thanks!