[DRE-commits] [ruby-mail-gpg] 01/04: debian/ruby-tests.rake: Make tests work inside chroot

Georg Faerber georg-alioth-guest at moszumanska.debian.org
Tue Nov 22 17:37:23 UTC 2016


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

georg-alioth-guest pushed a commit to branch master
in repository ruby-mail-gpg.

commit 70af25e4d8ecba39a8974fe77d1ee4480f54bf00
Author: Georg Faerber <georg at riseup.net>
Date:   Mon Nov 21 16:03:12 2016 +0100

    debian/ruby-tests.rake: Make tests work inside chroot
---
 debian/ruby-tests.rake | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 8389c15..9a1388a 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,7 +1,8 @@
 require 'rake/testtask'
 
 def setup_gpghome
-  gpghome = File.join File.dirname(__FILE__), '..', 'test', 'gpghome'
+  cwd = File.join File.dirname(__FILE__)
+  gpghome = File.join File.dirname(cwd), 'test', 'gpghome'
   ENV['GNUPGHOME'] = gpghome
   ENV['GPG_AGENT_INFO'] = '' # disable gpg agent
 end

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



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