From 83a406b38a21d0eeb4963db824a27783c212d2fb Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Mon, 19 Sep 2016 15:59:19 +0200 Subject: 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 --- tests/gpgscm/ffi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/gpgscm/ffi.h') diff --git a/tests/gpgscm/ffi.h b/tests/gpgscm/ffi.h index 02dd99d59..9bd710fbf 100644 --- a/tests/gpgscm/ffi.h +++ b/tests/gpgscm/ffi.h @@ -24,7 +24,7 @@ #include #include "scheme.h" -gpg_error_t ffi_init (scheme *sc, const char *argv0, +gpg_error_t ffi_init (scheme *sc, const char *argv0, const char *scriptname, int argc, const char **argv); #endif /* GPGSCM_FFI_H */ -- cgit v1.2.3