diff options
author | Ted Gould <ted@gould.cx> | 2009-12-02 15:58:52 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2009-12-02 15:58:52 -0600 |
commit | bc803c5df180ab73e129060c64982a637ae6048d (patch) | |
tree | 9ed4a914ab7db514e7be23ebab23524695327ddb /tests/service-manager-connect-service.c | |
parent | 1696a679089c71f23557ad8c3ec4d1da2d9f6b73 (diff) | |
parent | de38fc85d228bb2de6de86f31805ad0de748318e (diff) | |
download | libayatana-indicator-bc803c5df180ab73e129060c64982a637ae6048d.tar.gz libayatana-indicator-bc803c5df180ab73e129060c64982a637ae6048d.tar.bz2 libayatana-indicator-bc803c5df180ab73e129060c64982a637ae6048d.zip |
Merge in from trunk, now two failing tests.
Diffstat (limited to 'tests/service-manager-connect-service.c')
-rw-r--r-- | tests/service-manager-connect-service.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/service-manager-connect-service.c b/tests/service-manager-connect-service.c index 297f3ba..d60e414 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; } @@ -28,6 +28,8 @@ main (int argc, char ** argv) { g_type_init(); + g_debug("Starting service"); + IndicatorService * is = indicator_service_new("org.ayatana.test"); g_signal_connect(G_OBJECT(is), INDICATOR_SERVICE_SIGNAL_SHUTDOWN, shutdown, NULL); |