Home GnuPG
Diffusion GnuPG 2c9d9ac55ea4

tests: Use gpgconf to stop the agent.
2c9d9ac55ea4Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

tests: Use gpgconf to stop the agent.

* tests/openpgp/defs.scm (stop-agent): Swap order of actions.  Kill
all daemons using gpgconf.
* tools/gpgconf.c (main) <aRemoveSocketDir>: Try to remove known
socketfails on rmdir failure.  Do no fail for ENONET.

Killing all daemons is not really required but it does not harm to be
prepared for the future.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Mar 23 2017, 11:45 AM
Parents
rG178b6314ab2d: gpgscm: Make test cleanup more robust.
Branches
Unknown
Tags
Unknown