mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
tests: Check expiration times of created keys.
* tests/gpgscm/ffi.c (do_get_time): New function. (ffi_init): Expose new function. * tests/gpgscm/ffi.scm (get-time): Document new function. * tests/gpgscm/time.scm: New file. * tests/openpgp/quick-key-manipulation.scm: Use the new facilities to check the expiration times of created keys. * tests/openpgp/tofu.scm: Use the new module. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
e2792813a5
commit
127e1e532d
5 changed files with 72 additions and 9 deletions
|
@ -47,3 +47,6 @@
|
|||
|
||||
;; Low-level mechanism to terminate the process.
|
||||
(ffi-define (_exit status))
|
||||
|
||||
;; Get the current time in seconds since the epoch.
|
||||
(ffi-define (get-time))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue