From c3d30bd0cfd9f29072424f7a4c63bab7618d45fa Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 2 Nov 2009 16:14:53 -0600 Subject: We should pass the test if we get a connection, it means we activated. --- tests/service-manager-connect.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/service-manager-connect.c b/tests/service-manager-connect.c index c7c9282..c252542 100644 --- a/tests/service-manager-connect.c +++ b/tests/service-manager-connect.c @@ -8,8 +8,8 @@ static gboolean passed = FALSE; gboolean timeout (gpointer data) { - passed = TRUE; - g_debug("Timeout with no connection."); + passed = FALSE; + g_error("Timeout with no connection."); g_main_loop_quit(mainloop); return FALSE; } @@ -18,7 +18,7 @@ void connection (void) { g_debug("Connection"); - passed = FALSE; + passed = TRUE; g_main_loop_quit(mainloop); return; } -- cgit v1.2.3