← Back to team overview

ayatana-commits team mailing list archive

[Branch ~indicator-applet-developers/dbus-test-runner/trunk] Rev 21: Explicitly killing dbus at the end of the run.

 

Merge authors:
  Ted Gould (ted)
Related merge proposals:
  https://code.launchpad.net/~ted/dbus-test-runner/kill-dbus/+merge/15614
  proposed by: Ted Gould (ted)
  review: Approve - Neil J. Patel (njpatel)
------------------------------------------------------------
revno: 21 [merge]
committer: Ted Gould <ted@xxxxxxxx>
branch nick: trunk
timestamp: Thu 2009-12-03 12:38:38 -0600
message:
  Explicitly killing dbus at the end of the run.
modified:
  po/Makefile.in.in
  src/dbus-test-runner.c


--
lp:dbus-test-runner
https://code.launchpad.net/~indicator-applet-developers/dbus-test-runner/trunk

Your team ayatana-commits is subscribed to branch lp:dbus-test-runner.
To unsubscribe from this branch go to https://code.launchpad.net/~indicator-applet-developers/dbus-test-runner/trunk/+edit-subscription.
=== modified file 'po/Makefile.in.in'
--- po/Makefile.in.in	2009-08-19 16:59:30 +0000
+++ po/Makefile.in.in	2009-12-03 16:01:03 +0000
@@ -129,7 +129,7 @@
 	done
 
 # Empty stubs to satisfy archaic automake needs
-dvi info tags TAGS ID:
+dvi info ctags tags CTAGS TAGS ID:
 
 # Define this as empty until I found a useful application.
 install-exec installcheck:

=== modified file 'src/dbus-test-runner.c'
--- src/dbus-test-runner.c	2009-12-02 22:58:02 +0000
+++ src/dbus-test-runner.c	2009-12-03 16:18:08 +0000
@@ -331,5 +331,9 @@
 	global_mainloop = g_main_loop_new(NULL, FALSE);
 	g_main_loop_run(global_mainloop);
 
+	gchar * killline = g_strdup_printf("kill -9 %d", dbus);
+	g_spawn_command_line_sync(killline, NULL, NULL, NULL, NULL);
+	g_free(killline);
+
 	return !global_success;
 }