Diffusion GnuPG 06f1f163e96f

tests: Create temporary directories in '/tmp'.

Authored by justus on Mar 21 2017, 1:15 PM.

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