[DRE-commits] [schleuder] 17/26: debian/patches/foo: ok

Georg Faerber georg-alioth-guest at moszumanska.debian.org
Mon Feb 6 01:53:47 UTC 2017


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

georg-alioth-guest pushed a commit to branch master
in repository schleuder.

commit 28c91f1deead3edd92daceacbdb3ab79ab5dd92f
Author: Georg Faerber <georg at riseup.net>
Date:   Tue Jan 31 16:05:34 2017 +0100

    debian/patches/foo: ok
---
 debian/patches/foo | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/debian/patches/foo b/debian/patches/foo
index 2e532e2..55605d0 100644
--- a/debian/patches/foo
+++ b/debian/patches/foo
@@ -21,11 +21,11 @@
  
    context '#refresh_keys' do
      it 'updates one key from the keyserver' do
-+      list.listdir = '/tmp/schleuder-test/'
-+      FileUtils.mkdir_p(list.listdir)
++      listdir = '/tmp/schleuder-test/'
++      FileUtils.mkdir_p(listdir)
 +      gpghome_upstream = File.join "spec", "gnupg"
-+      FileUtils.cp_r Dir["#{gpghome_upstream}/{*.conf,private*,*.gpg,.*migrated}"], list.listdir 
-+      ENV['GNUPGHOME'] = list.listdir
++      FileUtils.cp_r Dir["#{gpghome_upstream}/{*.conf,private*,*.gpg,.*migrated}"], listdir
++      ENV['GNUPGHOME'] = listdir
 +      `dirmngr`
 +
        list = create(:list)
@@ -40,11 +40,11 @@
      end
  
      it 'reports errors from refreshing keys' do
-+      list.listdir = '/tmp/schleuder-test/'
-+      FileUtils.mkdir_p(list.listdir)
++      listdir = '/tmp/schleuder-test/'
++      FileUtils.mkdir_p(listdir)
 +      gpghome_upstream = File.join "spec", "gnupg"
-+      FileUtils.cp_r Dir["#{gpghome_upstream}/{*.conf,private*,*.gpg,.*migrated}"], list.listdir 
-+      ENV['GNUPGHOME'] = list.listdir
++      FileUtils.cp_r Dir["#{gpghome_upstream}/{*.conf,private*,*.gpg,.*migrated}"], listdir
++      ENV['GNUPGHOME'] = listdir
 +      `dirmngr`
 +
        list = create(:list)

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



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