Commit 8ecd8a4c authored by georg's avatar georg

specs: Kill dirmngr and gpg-agent after each test

Sometimes dirmngr and gpg-agent get stuck which leads to failed specs,
therefore, kill them after each test.

Closes: #269
parent 2835314c
......@@ -43,6 +43,8 @@ RSpec.configure do |config|
config.after(:each) do |example|
FileUtils.rm_rf(Dir["spec/gnupg/pubring.gpg~"])
`gpgconf --kill dirmngr > /dev/null 2>&1`
`gpgconf --kill gpg-agent > /dev/null 2>&1`
end
config.after(:suite) do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment