summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-test.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-04-05 00:37:17 +0000
committerHavoc Pennington <hp@redhat.com>2003-04-05 00:37:17 +0000
commit03b9ca6d4ecf2577958530b8390d675c73a58825 (patch)
treebe0569a447ef9acaf5a0004fb9bfe1a2022c9eb1 /dbus/dbus-test.c
parent45d1479fad0fb55f1775c394e696643dad3e8e4d (diff)
2003-04-04 Havoc Pennington <hp@redhat.com>
* dbus/dbus-spawn.c, dbus/dbus-spawn.h: Change dbus_spawn to return a "babysitter" object that is used to monitor the status of the spawned process and reap it when required. * test/test-segfault.c, test/test-exit.c, test/test-sleep-forever.c: binaries that do various lame things, used in the test suite. * dbus/dbus-sysdeps.c: kill _dbus_errno_to_string()
Diffstat (limited to 'dbus/dbus-test.c')
-rw-r--r--dbus/dbus-test.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/dbus/dbus-test.c b/dbus/dbus-test.c
index 0b0893ab..76776a95 100644
--- a/dbus/dbus-test.c
+++ b/dbus/dbus-test.c
@@ -84,6 +84,12 @@ dbus_internal_do_not_use_run_tests (const char *test_data_dir)
die ("sysdeps");
check_memleaks ();
+
+ printf ("%s: running spawn tests\n", "dbus-test");
+ if (!_dbus_spawn_test (test_data_dir))
+ die ("spawn");
+
+ check_memleaks ();
printf ("%s: running data slot tests\n", "dbus-test");
if (!_dbus_data_slot_test ())