Bug 166712 - [patch] www/p5-WWW-Mechanize: fix test hangs.
Summary: [patch] www/p5-WWW-Mechanize: fix test hangs.
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
Depends on:
Reported: 2012-04-07 01:00 UTC by Rachel Flynn
Modified: 2012-04-12 04:20 UTC (History)
1 user (show)

See Also:

www__p5-WWW-Mechanize.patch (750 bytes, patch)
2012-04-07 01:00 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-07 01:00:11 UTC
Tests in t/local all use LocalServer.pm, a module emulating a HTTP server.
This module closes a file handle from the child, after sending a
'quit_server' URL. This is supposed to stop the server, but does not on
FreeBSD, for reasons I'm unable to determine.
The filehandle cannot be closed SIGINFO shows that perl is in 'accept'.

Fix: The fix below is a work around. It kills the server using a SIGTERM to the
server pid. It doesn't impact the test results.
Issue submitted upstream:
cd /usr/ports/www/p5-WWW-Mechanize
make build
cd `make -V WRKSRC`
make test
Comment 1 Edwin Groothuis freebsd_committer 2012-04-07 01:00:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Steve Wills freebsd_committer 2012-04-07 19:36:42 UTC
Responsible Changed
From-To: perl->swills

I'll take it.
Comment 3 Steve Wills freebsd_committer 2012-04-12 04:17:40 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 dfilter service freebsd_committer 2012-04-12 04:17:46 UTC
swills      2012-04-12 03:17:32 UTC

  FreeBSD ports repository

  Added files:
    www/p5-WWW-Mechanize/files patch-t__local__LocalServer.pm 
  - Fix tests
  PR:             ports/166712
  Submitted by:   Mel Flynn <rflynn@acsalaska.net>
  Revision  Changes    Path
  1.1       +11 -0     ports/www/p5-WWW-Mechanize/files/patch-t__local__LocalServer.pm (new)
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"