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

alexm-guest pushed a commit to branch master
in repository libmojolicious-plugin-cgi-perl.

commit c518443c64df81189a63a8283d7d4a1e97a42324
Author: Alex Muntada <al...@alexm.org>
Date:   Wed May 14 21:25:14 2014 +0200

    new upstream version solves failing test
---
 debian/patches/no-leaky-pipes.patch | 27 ---------------------------
 debian/patches/series               |  1 -
 debian/rules                        |  5 +++++
 3 files changed, 5 insertions(+), 28 deletions(-)

diff --git a/debian/patches/no-leaky-pipes.patch 
b/debian/patches/no-leaky-pipes.patch
deleted file mode 100644
index a7bb6f0..0000000
--- a/debian/patches/no-leaky-pipes.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Description: Remove non-portable test that uses /proc
- The test also fails under pbuilder because fd/0 is allocated,
- which does not happen when testing outside pbuilder.
-Author: Alex Muntada <al...@alexm.org>
-Forwarded: not-needed
-Bug-Debian: http://bugs.debian.org/742195
-Last-Update: 2014-05-11
-
---- a/t/post.t
-+++ b/t/post.t
-@@ -27,14 +27,7 @@
-   ok $pid, 'could not get pid';
- }
- 
--# FIXME? possibly not the best way to test if there is a pipe leak
--if (-d "/proc/$$/fd") {
--  my $pipes = grep { defined $_ ? /pipe:/ : undef }
--    map { readlink("/proc/$$/fd/".(split '/')[-1]) }
--      glob "/proc/$$/fd/*";
--
--  note "pipes:$pipes";
--  ok( !($pipes % 2),'no leaky pipes');
--}
-+# Removed non portable leaky pipes test (fails under pbuilder too):
-+# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742195
- 
- done_testing;
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 5a1d0c6..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-no-leaky-pipes.patch
diff --git a/debian/rules b/debian/rules
index 2d33f6a..5999411 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,8 @@
 
 %:
        dh $@
+
+override_dh_auto_test:
+       # skip leaky pipes test
+       # https://github.com/jhthorsen/mojolicious-plugin-cgi/issues/6
+       DEBIAN_BUILD=1 dh_auto_test

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libmojolicious-plugin-cgi-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to