From ca9597f080f70a8435daaeb5449bef0462a1402a Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Thu, 20 Oct 2016 16:50:11 +0200 Subject: [PATCH] tests: Flush stdout in the fake pinentry. * tests/openpgp/fake-pinentry.c (reply): Flush stdout. Fixes-commit: 94504b3d5af126abb591dedda1ca0f0970822f55 Signed-off-by: Justus Winter --- tests/openpgp/fake-pinentry.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/openpgp/fake-pinentry.c b/tests/openpgp/fake-pinentry.c index 6ef612661..ce897650d 100644 --- a/tests/openpgp/fake-pinentry.c +++ b/tests/openpgp/fake-pinentry.c @@ -42,6 +42,7 @@ reply (const char *fmt, ...) result = vprintf (fmt, ap); va_end (ap); + fflush (stdout); return result; }