aboutsummaryrefslogtreecommitdiff
path: root/tests/service-manager-connect-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-12-01 10:40:17 -0600
committerTed Gould <ted@gould.cx>2009-12-01 10:40:17 -0600
commit8f0f2ad3c02996ce2362eab5383f0a4ab9175427 (patch)
treeaca7cc67b7274b2611c23717401ca8ed7d6e582f /tests/service-manager-connect-service.c
parent824d1e8bc5bbc240140d6c2cea7246308c563fd8 (diff)
downloadlibayatana-indicator-8f0f2ad3c02996ce2362eab5383f0a4ab9175427.tar.gz
libayatana-indicator-8f0f2ad3c02996ce2362eab5383f0a4ab9175427.tar.bz2
libayatana-indicator-8f0f2ad3c02996ce2362eab5383f0a4ab9175427.zip
Making the timeout a failure case, and making it so that we want a graceful shutdown.
Diffstat (limited to 'tests/service-manager-connect-service.c')
-rw-r--r--tests/service-manager-connect-service.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/service-manager-connect-service.c b/tests/service-manager-connect-service.c
index 297f3ba..dbdf4fa 100644
--- a/tests/service-manager-connect-service.c
+++ b/tests/service-manager-connect-service.c
@@ -8,7 +8,7 @@ static gboolean passed = FALSE;
gboolean
timeout (gpointer data)
{
- passed = TRUE;
+ passed = FALSE;
g_debug("Timeout with no shutdown.");
g_main_loop_quit(mainloop);
return FALSE;
@@ -17,8 +17,8 @@ timeout (gpointer data)
void
shutdown (void)
{
- g_error("Shutdown");
- passed = FALSE;
+ g_debug("Shutdown");
+ passed = TRUE;
g_main_loop_quit(mainloop);
return;
}