Home GnuPG
Diffusion GnuPG d9240a3a4688

tests: Improve temporary directory handling.
d9240a3a4688Unpublished

Unpublished Commit ยท Learn More

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

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
rGefe973dab7f6: gpgscm: Make the name of foreign functions more unique.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rGd9240a3a4688: tests: Improve temporary directory handling. (authored by Justus Winter <justus@g10code.com>).Aug 10 2016, 11:59 AM