[libdevel-bt-perl] 02/06: Add patch to improve test situation on Hurd.

gregor herrmann gregoa at debian.org
Thu Sep 4 12:25:47 UTC 2014


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

gregoa pushed a commit to branch master
in repository libdevel-bt-perl.

commit 4b89e874cac8845ac2e26dc2d1269c37044b6236
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Sep 4 14:17:17 2014 +0200

    Add patch to improve test situation on Hurd.
    
    Cf. #721421
    
    Thanks: Leon Timmermans for the patch.
---
 .../0001-Raise-instead-of-kill-the-signal.patch    | 28 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 29 insertions(+)

diff --git a/debian/patches/0001-Raise-instead-of-kill-the-signal.patch b/debian/patches/0001-Raise-instead-of-kill-the-signal.patch
new file mode 100644
index 0000000..fb0ce46
--- /dev/null
+++ b/debian/patches/0001-Raise-instead-of-kill-the-signal.patch
@@ -0,0 +1,28 @@
+From 7243c7acfa7731697dfd75e930906817588c9c2f Mon Sep 17 00:00:00 2001
+From: Leon Timmermans <fawaka at gmail.com>
+Date: Mon, 1 Sep 2014 11:53:23 +0200
+Subject: [PATCH] Raise instead of kill the signal
+
+Bug-Debian: https://bugs.debian.org/721421
+Bug: http://rt.cpan.org/Public/Bug/Display.html?id=93585
+
+---
+ t/basic.t | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/t/basic.t b/t/basic.t
+index 4519941..95fbb90 100644
+--- a/t/basic.t
++++ b/t/basic.t
+@@ -18,7 +18,7 @@ local $ENV{PERL5LIB} = join $Config::Config{path_sep} => @INC;
+ for my $signal (@signals) {
+     next unless __PACKAGE__->can($signal);
+     my $signum = __PACKAGE__->can($signal)->();
+-    my @cmd = ($^X, qw(-d:bt -e), "kill $signum, \$\$");
++    my @cmd = ($^X, qw(-d:bt -MPOSIX=raise -e), "raise($signum)");
+ 
+     use Capture::Tiny 'capture';
+     my ($stdout) = capture { system @cmd };
+-- 
+1.9.1
+
diff --git a/debian/patches/series b/debian/patches/series
index 4b84ffa..dce6732 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 hurd_path_max.patch
+0001-Raise-instead-of-kill-the-signal.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdevel-bt-perl.git



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