From 23fe43014b2a70bb676ca086702880b5188c4235 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 22 Apr 2015 10:39:57 +0200 Subject: [PATCH] unit/test-gdbus-client: Fix hanging if D-Bus fails to launch In case D-Bus fails to launch make the test fails so it does not hang other tests. --- unit/test-gdbus-client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/unit/test-gdbus-client.c b/unit/test-gdbus-client.c index 5a4b974e1..7e16d16a9 100644 --- a/unit/test-gdbus-client.c +++ b/unit/test-gdbus-client.c @@ -72,6 +72,7 @@ static struct context *create_context(void) } g_free(context); + tester_test_failed(); return NULL; } -- 2.47.3