tests: Flush stdout in the fake pinentry.
authorJustus Winter <justus@g10code.com>
Thu, 20 Oct 2016 14:50:11 +0000 (16:50 +0200)
committerJustus Winter <justus@g10code.com>
Thu, 20 Oct 2016 15:01:24 +0000 (17:01 +0200)
* tests/openpgp/fake-pinentry.c (reply): Flush stdout.

Fixes-commit: 94504b3d5af126abb591dedda1ca0f0970822f55
Signed-off-by: Justus Winter <justus@g10code.com>
tests/openpgp/fake-pinentry.c

index 6ef6126..ce89765 100644 (file)
@@ -42,6 +42,7 @@ reply (const char *fmt, ...)
   result = vprintf (fmt, ap);
   va_end (ap);
 
+  fflush (stdout);
   return result;
 }