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>