tests: Add logging to fake pinentry.
* tests/openpgp/fake-pinentry.c (log_stream): New variable. (reply): New function. (spacep,skip_options,option_value): Copy from common. (main): Parse arguments, add --logfile option, write logfile.
- Signed-off-by: Justus Winter <justus@g10code.com>