Home GnuPG

tests: Use descriptive temporary file names.

Description

tests: Use descriptive temporary file names.

* tests/gpgscm/ffi.c (do_get_isotime): New function.
(ffi_init): Add parameter 'scriptname', bind new function and
scriptname.
* tests/gpgscm/ffi.h (ffi_init): Update prototype.
* tests/gpgscm/main.c (main): Hand in the script name.
* tests/gpgscm/tests.scm (mkdtemp): Use current time and script name
for the names of temporary directories.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Sep 19 2016, 3:59 PM
Parents
rEa3cdf6ba9987: gpgscm: Fix gcrypt version check.
Branches
Unknown
Tags
Unknown