1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-10-31 20:08:43 +01:00
gnupg/tests/migrations
NIIBE Yutaka 83529e1bd1 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 <gniibe@fsij.org>
2018-04-04 20:27:08 +09:00
..
all-tests.scm tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
common.scm tests: Fix no gpg-agent upon removal of GNUPGHOME. 2018-04-04 20:27:08 +09:00
extended-pkf.scm tests: Locate resources and scripts relative to top source dir. 2017-04-24 14:14:05 +02:00
extended-pkf.tar.asc tests/migrations: Fix distcheck. 2016-07-05 15:25:21 +02:00
from-classic.scm tests: Locate resources and scripts relative to top source dir. 2017-04-24 14:14:05 +02:00
from-classic.tar.asc tests/migrations: Fix distcheck. 2016-07-05 15:25:21 +02:00
issue2276.scm tests: Locate resources and scripts relative to top source dir. 2017-04-24 14:14:05 +02:00
issue2276.tar.asc g10: Properly ignore legacy keys in the keyring cache. 2016-07-22 14:17:24 +02:00
Makefile.am tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
run-tests.scm tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
setup.scm tests: Use the common test framework for the migration tests. 2016-12-19 17:47:10 +01:00