Home GnuPG
Diffusion Scute 1d416088cb94

Improve t-getslotinfo, t-getslotlist and t-opensession

Description

Improve t-getslotinfo, t-getslotlist and t-opensession

* tests/t-getslotinfo.c: Replace bool by int and include string.h.
(PGM): New.
(main): Add argument parsing and provide a loop options.  Don't use a
delay if --loop is not used.  Do not pass 0 to malloc.
* tests/t-getslotlist.c: Likewise but no --loop option.
* tests/t-opensession.c: Likewise but no options.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 13 2019, 5:20 PM
Parents
rS1a5984fde196: Never clean the GNUPGHOME if it is the standard directory.
Branches
Unknown
Tags
Unknown