From 5ee8cefa9b3d9cc7d9636abf15dd8138cca30e5e Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 21 Nov 2017 12:10:01 +0000 Subject: [PATCH 6/8] test-utils: Use TAP syntax to die with a fatal error Signed-off-by: Simon McVittie --- test/test-utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test-utils.c b/test/test-utils.c index 3f4d1959..843fda1a 100644 --- a/test/test-utils.c +++ b/test/test-utils.c @@ -156,7 +156,8 @@ static void die (const char *message) _DBUS_GNUC_NORETURN; static void die (const char *message) { - fprintf (stderr, "*** %s", message); + printf ("Bail out! %s\n", message); + fflush (stdout); exit (1); } -- 2.15.0