[SCM] Debian packaging of libpoe-component-client-ping-perl branch, master, updated. 279065a544d116db9149beb98b79672902b814e1

gregor herrmann gregoa at debian.org
Fri Jan 20 20:20:33 UTC 2012


The following commit has been merged in the master branch:
commit 400e8f93f7c6a5be0d32bc409699decd5dac0571
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Jan 20 21:17:44 2012 +0100

    Add a patch to check for root privileges in the new test, too, like in all
    others.

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d56c1e1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+zz_rt_72055-root.patch
diff --git a/debian/patches/zz_rt_72055-root.patch b/debian/patches/zz_rt_72055-root.patch
new file mode 100644
index 0000000..323a047
--- /dev/null
+++ b/debian/patches/zz_rt_72055-root.patch
@@ -0,0 +1,24 @@
+Description: check for root privileges like the other tests
+Origin: vendor
+Bug: https://rt.cpan.org/Ticket/Display.html?id=74189
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=74189
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2012-01-20
+
+--- a/t/zz_rt_72055.t
++++ b/t/zz_rt_72055.t
+@@ -20,6 +20,14 @@
+ use strict;
+ use warnings;
+ 
++BEGIN {
++  $| = 1;
++  if ($> and ($^O ne 'VMS')) {
++    print "1..0 # skipped: ICMP ping requires root privilege\n";
++    exit 0;
++  }
++};
++
+ use Test::More tests => 2;
+ 
+ use POE qw( Component::Client::Ping );

-- 
Debian packaging of libpoe-component-client-ping-perl



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