Home GnuPG

tests: Improve temporary directory handling.

Description

tests: Improve temporary directory handling.

* tests/gpgscm/ffi.c (ffi_init): Rename 'mkdtemp'.
* tests/gpgscm/tests.scm (mkdtemp): New function that uses a sensible
location and template if no arguments are given.
(with-temporary-working-directory): Simplify accordingly.
(make-temporary-file): Likewise.
* tests/openpgp/run-tests.scm (run-tests-parallel-isolated): Likewise.
(run-tests-sequential-isolated): Likewise.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Aug 10 2016, 11:54 AM
Parents
rEc609b6e6b087: gpgscm: Make the name of foreign functions more unique.
Branches
Unknown
Tags
Unknown