aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-11-02 16:14:53 -0600
committerTed Gould <ted@canonical.com>2009-11-02 16:14:53 -0600
commitc3d30bd0cfd9f29072424f7a4c63bab7618d45fa (patch)
treec5090eb12ff0ce0f134cd2ae3dfa5becf9f04bfc /tests
parent6cb18e9a371158977143c198d43e69c73895496d (diff)
downloadlibayatana-indicator-c3d30bd0cfd9f29072424f7a4c63bab7618d45fa.tar.gz
libayatana-indicator-c3d30bd0cfd9f29072424f7a4c63bab7618d45fa.tar.bz2
libayatana-indicator-c3d30bd0cfd9f29072424f7a4c63bab7618d45fa.zip
We should pass the test if we get a connection, it means we activated.
Diffstat (limited to 'tests')
-rw-r--r--tests/service-manager-connect.c6
1 files changed, 3 insertions, 3 deletions
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;
}