File: disable-test-depending-on-gpg.patch

package info (click to toggle)
ruby-netrc 0.10.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 156 kB
  • ctags: 99
  • sloc: ruby: 500; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 552 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Disable test that requires gpg
Author: Lucas Nussbaum <lucas@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")