Home GnuPG
Diffusion GnuPG 8270580a5a70

tests: Honor environment variable 'TMP'.
8270580a5a70Unpublished

Unpublished Commit ยท Learn More

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

Description

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 <justus@g10code.com>

Details

Provenance
justusAuthored on Jul 5 2016, 4:25 PM
Parents
rGf26fe4f73e84: gpgscm: Improve robustness and compatibility.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rG8270580a5a70: tests: Honor environment variable 'TMP'. (authored by Justus Winter <justus@g10code.com>).Jul 5 2016, 4:25 PM