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 ae3174ffe65615ef1bce7040aefb7cb47522b3d9 Author: Alex Muntada <al...@alexm.org> Date: Sun May 11 14:50:56 2014 +0200 remove non-portable test --- debian/changelog | 6 +++--- debian/patches/no-leaky-pipes.patch | 31 ++++++++++--------------------- 2 files changed, 13 insertions(+), 24 deletions(-) diff --git a/debian/changelog b/debian/changelog index 0b1590e..7b81c44 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,6 @@ -libmojolicious-plugin-cgi-perl (0.07-1) UNRELEASED; urgency=low +libmojolicious-plugin-cgi-perl (0.07-1) unstable; urgency=low * Initial Release. (Closes: #742195) - * Trying a patch for 'no leaky pipes' test. + * Remove non-portable test 'no leaky pipes'. - -- Alex Muntada <al...@alexm.org> Tue, 15 Apr 2014 19:10:09 +0200 + -- Alex Muntada <al...@alexm.org> Sun, 11 May 2014 14:48:24 +0200 diff --git a/debian/patches/no-leaky-pipes.patch b/debian/patches/no-leaky-pipes.patch index 949fd22..54f4fdc 100644 --- a/debian/patches/no-leaky-pipes.patch +++ b/debian/patches/no-leaky-pipes.patch @@ -1,32 +1,21 @@ Index: libmojolicious-plugin-cgi-perl/t/post.t =================================================================== ---- libmojolicious-plugin-cgi-perl.orig/t/post.t 2014-04-16 12:00:54.994101100 +0200 -+++ libmojolicious-plugin-cgi-perl/t/post.t 2014-04-16 12:05:48.790115439 +0200 -@@ -22,19 +22,23 @@ - - if($pid) { - ok !(kill 0, $pid), 'child is taken care of'; -+ diag "waiting for $pid"; -+ waitpid $pid, 0; - } - else { +--- libmojolicious-plugin-cgi-perl.orig/t/post.t 2014-05-11 14:29:04.114102671 +0200 ++++ libmojolicious-plugin-cgi-perl/t/post.t 2014-05-11 14:34:01.894114260 +0200 +@@ -27,14 +27,7 @@ ok $pid, 'could not get pid'; -+ diag 'no need to wait'; } - # FIXME? possibly not the best way to test if there is a pipe leak - if (-d "/proc/$$/fd") { +-# 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]) } -+ my @pipes = grep { $_->[1] =~ /pipe:/ } -+ map { [ $_, readlink $_ ] } - glob "/proc/$$/fd/*"; - +- glob "/proc/$$/fd/*"; +- - note "pipes:$pipes"; - ok( !($pipes % 2),'no leaky pipes'); -+ use Data::Dumper(); -+ diag "pipes: " . Data::Dumper::Dumper(\@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; -- 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