exit lingering gpg agents at the end of relevant tests
authorTomi Ollila <tomi.ollila@iki.fi>
Tue, 23 May 2017 18:54:25 +0000 (21:54 +0300)
committerDavid Bremner <david@tethera.net>
Fri, 26 May 2017 10:26:06 +0000 (07:26 -0300)
commit5f71a4d3e15fa2ff7d4bcc9b8bfb8a2057b26ad7
tree1728886102de3e165158d3db102eea390e1e44c3
parenteb157f8841b93a0df241b815e30ac54ca81cc83d
exit lingering gpg agents at the end of relevant tests

Since gnupg 2.1.20, gpg-agent no longer shut itself down when
$GNUPGHOME directory is removed.

Add exit hooks to the test modules which execute `gpgconf --kill all`

Add exit hooks to execute `gpgconf --kill all` in the modules that
create $GNUPGHOME for gpg to work with.
test/T350-crypto.sh
test/T355-smime.sh