test/testutil.c: Flush stdout when running tests
authorRichard Levitte <levitte@openssl.org>
Wed, 12 Apr 2017 06:55:34 +0000 (08:55 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 12 Apr 2017 13:00:51 +0000 (15:00 +0200)
commita743b817d28ced8c8a4f2250ae9cbec39af937aa
treeb90e86101f437ed47a945268df8fb32bdc0d2c7b
parent4833caed466ce8b7ae1d5fbafc23740885dbd9cc
test/testutil.c: Flush stdout when running tests

Because stdout is usually buffered and stderr isn't, error output
might get printed in one bunch and all the lines saying which test
failed all in one bunch, making it difficult to see exactly what error
output belongs to what test.  Flushing stdout makes sure the runner
output is displayed together with the corresponding error output.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3198)
test/testutil.c