Unverified Commit 56efc1ce authored by georg's avatar georg Committed by paz
Browse files

specs: drop dirmngr pid checks in gpgme contexts

This code is quite flaky and not reliable. Besides this, we're planning
to dropping dirmngr completely. Because of this, drop the code.

(cherry picked from commit 26cc64bc)
parent 5f302ad2
......@@ -195,9 +195,6 @@ describe GPGME::Ctx do
expect(res).to match(/This key was updated \(new signatures\):\n0x98769E8A1091F36BD88403ECF71A3F8412D83889 bla@foo \d{4}-\d{2}-\d{2} \[expired: \d{4}-\d{2}-\d{2}\]/)
expect(res).to match(/This key was updated \(new user-IDs and new signatures\):\n0x6EE51D78FD0B33DE65CCF69D2104E20E20889F66 new@example.org \d{4}-\d{2}-\d{2}/)
dirmngr_pid = `pgrep -a dirmngr | grep #{list.listdir}`.split(' ', 2).first
# no error occurred
expect(dirmngr_pid).to be_nil
it 'reports errors from refreshing keys' do
......@@ -208,8 +205,6 @@ describe GPGME::Ctx do
res = list.gpg.refresh_keys(list.keys)
expect(res).to match(/keyserver refresh failed: No keyserver available/)
dirmngr_pid = `pgrep -a dirmngr | grep #{list.listdir}`.split(' ', 2).first
expect(dirmngr_pid).to be_nil
it 'does not import non-self-signatures' 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