summaryrefslogtreecommitdiff
path: root/source4/torture/local
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-01-10 11:16:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:37:24 -0500
commitf6274959ba381b6b5d025cb0cee78665107a72a6 (patch)
tree750d88afc3f88f833162dc7d9ae93d844b61a4e4 /source4/torture/local
parent1cd4339b9a2786aa26691ca4f02fa93ab0958b88 (diff)
downloadsamba-f6274959ba381b6b5d025cb0cee78665107a72a6.tar.gz
samba-f6274959ba381b6b5d025cb0cee78665107a72a6.tar.bz2
samba-f6274959ba381b6b5d025cb0cee78665107a72a6.zip
r20647: add cluster code
(This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)
Diffstat (limited to 'source4/torture/local')
-rw-r--r--source4/torture/local/event.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/local/event.c b/source4/torture/local/event.c
index 5dab65b693..ec26310e10 100644
--- a/source4/torture/local/event.c
+++ b/source4/torture/local/event.c
@@ -107,7 +107,9 @@ static bool test_event_context(struct torture_context *torture_ctx,
event_add_timed(ev_ctx, ev_ctx, timeval_current_ofs(0,500),
timed_handler, fde);
- event_loop_wait(ev_ctx);
+ while (fde) {
+ event_loop_once(ev_ctx);
+ }
close(read_fd);
close(write_fd);