tests: Create temporary directories in '/tmp'.
authorJustus Winter <justus@g10code.com>
Tue, 21 Mar 2017 12:15:38 +0000 (13:15 +0100)
committerJustus Winter <justus@g10code.com>
Tue, 21 Mar 2017 12:15:38 +0000 (13:15 +0100)
commit06f1f163e96f1039304fd3cf565cf9de1ca45849
tree3033fabde11d8757bf231ad8908b9dd854083fff
parentceb4b245752bb1fb43fde7e99f8d904ab8a9b5e2
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>
tests/gpgscm/tests.scm
tests/migrations/common.scm
tests/openpgp/defs.scm