Home GnuPG
Diffusion GnuPG aec89a7297ba

test: Extend TOFU tests to also check the days with signatures.
aec89a7297baUnpublished

Unpublished Commit ยท Learn More

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

Description

test: Extend TOFU tests to also check the days with signatures.

* tests/openpgp/tofu.scm (GPGTIME): Define the "standard" base time.
(faketime): New function.
(days->seconds): Likewise.
(GPG): Use faketime.
(check-counts): Also check the number of expected days with signatures
and encryptions.  Update callers.  Extend tests.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Dec 19 2016, 3:59 PM
Parents
rGa76fe9e86d78: doc: Clarify that delkey deletes public keys.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rGaec89a7297ba: test: Extend TOFU tests to also check the days with signatures. (authored by Neal H. Walfield <neal@g10code.com>).Dec 19 2016, 4:01 PM