diff options
author | Justus Winter <[email protected]> | 2016-07-05 14:25:21 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-07-05 14:25:21 +0000 |
commit | 8270580a5a70874beeffcdd16221937db4bcdc93 (patch) | |
tree | a2346b8af4b1a4bb93feef9f26c64418b7ff9ad5 /tests/migrations | |
parent | gpgscm: Improve robustness and compatibility. (diff) | |
download | gnupg-8270580a5a70874beeffcdd16221937db4bcdc93.tar.gz gnupg-8270580a5a70874beeffcdd16221937db4bcdc93.zip |
tests: Honor environment variable 'TMP'.
This fixes problems with long socket names, e.g. when doing distcheck.
* tests/gpgscm/tests.scm (path-join): New function.
(with-temporary-working-directory): Honor 'TMP'.
(make-temporary-file): Likewise.
* tests/migrations/Makefile.am (TMP): Default to '/tmp'.
(TESTS_ENVIRONMENT): Set 'TMP'.
* tests/openpgp/Makefile.am (TMP): Default to '/tmp'.
(TESTS_ENVIRONMENT): Set 'TMP'.
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'tests/migrations')
-rw-r--r-- | tests/migrations/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/migrations/Makefile.am b/tests/migrations/Makefile.am index 0377b23d6..9c82d66ee 100644 --- a/tests/migrations/Makefile.am +++ b/tests/migrations/Makefile.am @@ -26,8 +26,11 @@ include $(top_srcdir)/am/cmacros.am AM_CFLAGS = +TMP ?= /tmp + TESTS_ENVIRONMENT = GPG_AGENT_INFO= LC_ALL=C \ PATH=../gpgscm:$(PATH) \ + TMP=$(TMP) \ GPGSCM_PATH=$(top_srcdir)/tests/gpgscm:$(top_srcdir)/tests/migrations TESTS = from-classic.scm \ |