1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-12 21:58:50 +01:00
gnupg/tests/gpgsm
Justus Winter 32b75fb774
tests: Fix setup of ephemeral home directories.
* tests/openpgp/defs.scm (with-ephemeral-home-directory): Create
configuration files when we enter the context.
* tests/openpgp/setup.scm: Do not use an ephemeral home directory.
Tests should always use the cwd.
* tests/gpgsm/setup.scm: Likewise.
* tests/gpgsm/export.scm: Add explicit constructor function.
* tests/openpgp/decrypt-session-key.scm: Likewise.
* tests/openpgp/decrypt-unwrap-verify.scm: Likewise.
--

Previously, ephemeral homedirectories lacked a configuration, hence
GnuPG tried to start backend daemons using their installed locations.
Fix this by explicitly creating a suitable configuration.

GnuPG-bug-id: 3047
Signed-off-by: Justus Winter <justus@g10code.com>
2017-04-04 18:52:06 +02:00
..
32100C27173EF6E9C4E9A25D3D69F86D37A4F939 tests: Add test suite for gpgsm. 2016-12-20 16:51:38 +01:00
cert_dfn_pca01.der tests: Add test suite for gpgsm. 2016-12-20 16:51:38 +01:00
cert_dfn_pca15.der tests: Add test suite for gpgsm. 2016-12-20 16:51:38 +01:00
cert_g10code_test1.der tests: Add test suite for gpgsm. 2016-12-20 16:51:38 +01:00
decrypt.scm tests: Add test suite for gpgsm. 2016-12-20 16:51:38 +01:00
encrypt.scm tests: Add test suite for gpgsm. 2016-12-20 16:51:38 +01:00
export.scm tests: Fix setup of ephemeral home directories. 2017-04-04 18:52:06 +02:00
gpgsm-defs.scm tests: Harmonize temporary and socket directory handling. 2017-03-06 18:10:10 +01:00
import.scm tests: Add test suite for gpgsm. 2016-12-20 16:51:38 +01:00
Makefile.am tests: Harmonize temporary and socket directory handling. 2017-03-06 18:10:10 +01:00
plain-1.cms.asc tests: Add test suite for gpgsm. 2016-12-20 16:51:38 +01:00
plain-2.cms.asc tests: Add test suite for gpgsm. 2016-12-20 16:51:38 +01:00
plain-3.cms.asc tests: Add test suite for gpgsm. 2016-12-20 16:51:38 +01:00
plain-large.cms.asc tests: Add test suite for gpgsm. 2016-12-20 16:51:38 +01:00
run-tests.scm tests: Rework environment setup. 2017-03-09 13:26:06 +01:00
setup.scm tests: Fix setup of ephemeral home directories. 2017-04-04 18:52:06 +02:00
shell.scm tests: Add test suite for gpgsm. 2016-12-20 16:51:38 +01:00
sign.scm tests: Add test suite for gpgsm. 2016-12-20 16:51:38 +01:00
verify.scm tests,w32: Fix gpgsm signature verification test. 2017-01-25 15:39:30 +01:00