[libhttp-server-simple-perl] 08/08: Add patch to fix t/01_live.t - Port already in use

Daniel Lintott dlintott-guest at moszumanska.debian.org
Fri May 30 18:17:37 UTC 2014


This is an automated email from the git hooks/post-receive script.

dlintott-guest pushed a commit to branch master
in repository libhttp-server-simple-perl.

commit 9581b487933c437b626c4180952fa0777d36bccc
Author: Daniel Lintott <daniel at serverb.co.uk>
Date:   Fri May 30 19:08:20 2014 +0100

    Add patch to fix t/01_live.t - Port already in use
---
 debian/patches/fix_port_in_use_in_test.patch | 17 +++++++++++++++++
 debian/patches/series                        |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/fix_port_in_use_in_test.patch b/debian/patches/fix_port_in_use_in_test.patch
new file mode 100644
index 0000000..c610207
--- /dev/null
+++ b/debian/patches/fix_port_in_use_in_test.patch
@@ -0,0 +1,17 @@
+Description: Fix port already in use test failure
+ Between the IPv4 and IPv6 tests we need to bump the port number
+ to prevent the test suite failing and consequently hanging the 
+ build process
+Author: Daniel Lintott <daniel at serverb.co.uk>
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=96086
+Last-Update: 2014-05-30
+--- a/t/01live.t
++++ b/t/01live.t
+@@ -32,6 +32,7 @@
+ my @classes = (qw(HTTP::Server::Simple SlowServer));
+ for my $class (@classes) {
+     run_server_tests($class, AF_INET);
++    $PORT++;
+     run_server_tests($class, AF_INET6);
+     $PORT++; # don't reuse the port incase your bogus os doesn't release in time
+ }
diff --git a/debian/patches/series b/debian/patches/series
index 11d23a8..539dbaf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+fix_port_in_use_in_test.patch
 0002-Pipe-version-parent-waits-for-the-child-to-say-OK.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhttp-server-simple-perl.git



More information about the Pkg-perl-cvs-commits mailing list