diff options
author | Justus Winter <[email protected]> | 2017-03-21 12:15:38 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-03-21 12:15:38 +0000 |
commit | 06f1f163e96f1039304fd3cf565cf9de1ca45849 (patch) | |
tree | 3033fabde11d8757bf231ad8908b9dd854083fff /tests/openpgp/defs.scm | |
parent | tests: Remove debugging remnants. (diff) | |
download | gnupg-06f1f163e96f1039304fd3cf565cf9de1ca45849.tar.gz gnupg-06f1f163e96f1039304fd3cf565cf9de1ca45849.zip |
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 <[email protected]>
Diffstat (limited to 'tests/openpgp/defs.scm')
-rw-r--r-- | tests/openpgp/defs.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/openpgp/defs.scm b/tests/openpgp/defs.scm index 64c086d8c..7c8e10a7e 100644 --- a/tests/openpgp/defs.scm +++ b/tests/openpgp/defs.scm @@ -446,7 +446,7 @@ (atexit (lambda () (with-home-directory gnupghome (stop-agent))))) - (catch (fail "Creating socket directory failed (see README):" (car *error*)) + (catch (log "Warning: Creating socket directory failed:" (car *error*)) (call-popen `(,(tool 'gpgconf) --create-socketdir) "")) (call-check `(,(tool 'gpg-connect-agent) --verbose ,(string-append "--agent-program=" (tool 'gpg-agent) |