tests: Check expiration times of created keys.

Authored by justus on Feb 15 2017, 2:50 PM.

Description

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>

Details

Committed
justusFeb 15 2017, 2:53 PM
Parents
rE1c99db04ed62: gpgscm: Tune the hash tables.
Branches
Unknown
Tags
Unknown