summaryrefslogtreecommitdiff
path: root/bus/test.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-04-11 03:58:56 +0000
committerHavoc Pennington <hp@redhat.com>2003-04-11 03:58:56 +0000
commita03e626728db8a9cbe1dbbfab6f22f5870cb40ae (patch)
tree474f7137f4cddd8951c5d3bb50dcaaeda8e91360 /bus/test.c
parent78e79022316f45e86a6cac4da85d6b60f5a8f7f8 (diff)
downloaddbus-a03e626728db8a9cbe1dbbfab6f22f5870cb40ae.tar.gz
dbus-a03e626728db8a9cbe1dbbfab6f22f5870cb40ae.tar.bz2
dbus-a03e626728db8a9cbe1dbbfab6f22f5870cb40ae.zip
2003-04-11 Havoc Pennington <hp@pobox.com>
* bus/dispatch.c (check_existent_service_activation): accept a no memory error in a place we didn't before * bus/test.c (bus_test_run_everything): remove hacky "do it twice in case the first one failed," since the test suite is less broken now.
Diffstat (limited to 'bus/test.c')
-rw-r--r--bus/test.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/bus/test.c b/bus/test.c
index c4d999f9..db3065b9 100644
--- a/bus/test.c
+++ b/bus/test.c
@@ -335,16 +335,9 @@ bus_test_run_bus_loop (BusContext *context,
void
bus_test_run_everything (BusContext *context)
{
- int i;
-
- i = 0;
- while (i < 2)
- {
- while (_dbus_loop_iterate (bus_context_get_loop (context), FALSE) ||
- (client_loop == NULL || _dbus_loop_iterate (client_loop, FALSE)))
- ;
- ++i;
- }
+ while (_dbus_loop_iterate (bus_context_get_loop (context), FALSE) ||
+ (client_loop == NULL || _dbus_loop_iterate (client_loop, FALSE)))
+ ;
}
BusContext*