[DRE-commits] [ruby-netrc] 02/04: Add patch disable-test-depending-on-gpg.patch

Lucas Nussbaum lucas at moszumanska.debian.org
Tue May 5 14:02:49 UTC 2015


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

lucas pushed a commit to branch master
in repository ruby-netrc.

commit 729c1ee21bde5ab573fe8edcadc6f8b076a5a838
Author: Lucas Nussbaum <lucas at debian.org>
Date:   Tue May 5 15:41:44 2015 +0200

    Add patch disable-test-depending-on-gpg.patch
---
 debian/patches/disable-test-depending-on-gpg.patch | 18 ++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/disable-test-depending-on-gpg.patch b/debian/patches/disable-test-depending-on-gpg.patch
new file mode 100644
index 0000000..51ca20d
--- /dev/null
+++ b/debian/patches/disable-test-depending-on-gpg.patch
@@ -0,0 +1,18 @@
+Description: Disable test that requires gpg
+Author: Lucas Nussbaum <lucas at debian.org>
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2015-05-05
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/test/test_netrc.rb
++++ b/test/test_netrc.rb
+@@ -184,7 +184,7 @@ class TestNetrc < Test::Unit::TestCase
+     end
+   end
+ 
+-  def test_encrypted_roundtrip
++  def disabled_test_encrypted_roundtrip
+     if `gpg --list-keys 2> /dev/null` != ""
+       FileUtils.rm_f("/tmp/test.netrc.gpg")
+       n = Netrc.read("/tmp/test.netrc.gpg")
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0841608
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+disable-test-depending-on-gpg.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-netrc.git



More information about the Pkg-ruby-extras-commits mailing list