[Pkg-privacy-commits] [parcimonie] 03/06: New patch: 0001-Disable-buggy-test.patch

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 13:28:53 UTC 2015


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

infinity0 pushed a commit to branch squeeze-backports
in repository parcimonie.

commit 3bc4b57421e9a77b4ec3889b99839cfd76006591
Author: intrigeri <intrigeri at boum.org>
Date:   Sun Aug 21 18:02:12 2011 +0200

    New patch: 0001-Disable-buggy-test.patch
---
 debian/patches/0001-Disable-buggy-test.patch | 69 ++++++++++++++++++++++++++++
 debian/patches/series                        |  1 +
 2 files changed, 70 insertions(+)

diff --git a/debian/patches/0001-Disable-buggy-test.patch b/debian/patches/0001-Disable-buggy-test.patch
new file mode 100644
index 0000000..47f72fb
--- /dev/null
+++ b/debian/patches/0001-Disable-buggy-test.patch
@@ -0,0 +1,69 @@
+From: intrigeri <intrigeri at boum.org>
+Date: Sun, 21 Aug 2011 17:53:04 +0200
+Subject: Disable buggy test.
+
+This test passes when the test suite is run:
+
+ - manually inside a Squeeze VM
+ - run by a sid pbuilder
+
+... but fails (stalled gpg process uses all available CPU) when run by a squeeze
+pbuilder.
+---
+ t/31-gpgPublicKeys.t          |   19 -------------------
+ t/31-gpgPublicKeys.t.disabled |   19 +++++++++++++++++++
+ 2 files changed, 19 insertions(+), 19 deletions(-)
+ delete mode 100644 t/31-gpgPublicKeys.t
+ create mode 100644 t/31-gpgPublicKeys.t.disabled
+
+diff --git a/t/31-gpgPublicKeys.t b/t/31-gpgPublicKeys.t
+deleted file mode 100644
+index fb54cf9..0000000
+--- a/t/31-gpgPublicKeys.t
++++ /dev/null
+@@ -1,19 +0,0 @@
+-#!perl
+-
+-use Test::Most tests => 1;
+-use Path::Class;
+-
+-my $expected_pubkeys = 2;
+-my $gnupg_options = { homedir => dir('t', 'data', 'gnupg_homedir') };
+-
+-$ENV{LC_ALL} = 'C';
+-
+-use Env qw{@PATH};
+-use FindBin;
+-unshift @PATH, "$FindBin::Bin/../bin";
+-
+-use App::Parcimonie;
+-is(scalar gpgPublicKeys($gnupg_options),
+-   $expected_pubkeys,
+-   "There are $expected_pubkeys public keys in the keyring."
+-);
+diff --git a/t/31-gpgPublicKeys.t.disabled b/t/31-gpgPublicKeys.t.disabled
+new file mode 100644
+index 0000000..fb54cf9
+--- /dev/null
++++ b/t/31-gpgPublicKeys.t.disabled
+@@ -0,0 +1,19 @@
++#!perl
++
++use Test::Most tests => 1;
++use Path::Class;
++
++my $expected_pubkeys = 2;
++my $gnupg_options = { homedir => dir('t', 'data', 'gnupg_homedir') };
++
++$ENV{LC_ALL} = 'C';
++
++use Env qw{@PATH};
++use FindBin;
++unshift @PATH, "$FindBin::Bin/../bin";
++
++use App::Parcimonie;
++is(scalar gpgPublicKeys($gnupg_options),
++   $expected_pubkeys,
++   "There are $expected_pubkeys public keys in the keyring."
++);
+-- 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5148a5c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Disable-buggy-test.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/parcimonie.git



More information about the Pkg-privacy-commits mailing list