diff options
author | NIIBE Yutaka <[email protected]> | 2018-04-04 11:27:08 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2018-04-04 11:27:08 +0000 |
commit | 83529e1bd14a6d39f2a8ecab9fb6aa4c1f344c73 (patch) | |
tree | 7a8a1e7c8367547880106c65cf5cac33e677e31e /agent/command-ssh.c | |
parent | scd: Writing KDF resets auth state. (diff) | |
download | gnupg-83529e1bd14a6d39f2a8ecab9fb6aa4c1f344c73.tar.gz gnupg-83529e1bd14a6d39f2a8ecab9fb6aa4c1f344c73.zip |
tests: Fix no gpg-agent upon removal of GNUPGHOME.
* tests/gpgscm/gnupg.scm (with-ephemeral-home-directory): Add
teadown-fn.
* tests/gpgsm/export.scm: Use -no-atexit version and stop-agent.
* tests/openpgp/decrypt-session-key.scm: Likewise.
* tests/openpgp/decrypt-unwrap-verify.scm: Likewise.
* tests/openpgp/defs.scm (have-opt-always-trust): Likewise.
(setup-environment-no-atexit): New.
(start-agent): Support no use of atexit.
* tests/gpgsm/gpgsm-defs.scm (setup-gpgsm-environment-no-atexit): New.
* tests/migrations/common.scm (untar-armored): Follow the change
of with-ephemeral-home-directory.
--
When gpg-agent detects homedir removal, it will automatically exit.
Then, call of 'gpgconf --kill all' will fail. So, stop-agent should
be called before the removal of homedir.
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions