Home GnuPG
Diffusion GnuPG 06f1f163e96f

tests: Create temporary directories in '/tmp'.
06f1f163e96fUnpublished

Unpublished Commit ยท Learn More

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

Description

tests: Create temporary directories in '/tmp'.

* tests/gpgscm/tests.scm (mkdtemp): Create temporary directories in
'/tmp' on UNIX, or in '%Temp' on Windows.
* tests/migrations/common.scm (run-test): Turn error into a warning.
* tests/openpgp/defs.scm (start-agent): Likewise.

This fixes the problem of GnuPG components being unable to communicate
because of too long GnuPG home directories in important build
environments like the Debian build servers despite the use of socket
directories.

This reverts d75d20909d9f60d33ffd210def92278c0f383aad.

  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Mar 21 2017, 1:15 PM
Parents
rGceb4b245752b: tests: Remove debugging remnants.
Branches
Unknown
Tags
Unknown
Reverts
rGd75d20909d9f: tests: Fail if we cannot create the socket directory.