[DRE-commits] [schleuder] 01/04: debian/ruby-tests.rake: Kill gpg-agent after / before running tests

Georg Faerber georg-alioth-guest at moszumanska.debian.org
Sat Sep 30 13:03:46 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 ab95dd1e5a7b84db7a91bd03e6f29e70b085bf4f
Author: Georg Faerber <georg at riseup.net>
Date:   Sat Sep 30 13:11:04 2017 +0200

    debian/ruby-tests.rake: Kill gpg-agent after / before running tests
---
 debian/ruby-tests.rake | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 4fd302f..fdf1dac 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -8,6 +8,8 @@ task :setup do
   # Set up database
   `rake -f debian/Rakefile db:create`
   `rake -f debian/Rakefile db:schema:load`
+  # Kill gpg-agent
+  `gpgconf --kill gpg-agent`
 end
 
 task :run_tests do
@@ -21,6 +23,8 @@ task :cleanup do
     # Remove database to make the build reproducible
     `rm db/test.sqlite3 >/dev/null 2>&1 || true`
     `rm /usr/lib/ruby/vendor_ruby/schleuder/db/test.sqlite3 >/dev/null 2>&1 || true`
+    # Kill gpg-agent
+    `gpgconf --kill gpg-agent`
   }
 end
 

-- 
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