mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
tevent/testsuite: return after torture_fail()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
cd517516b7
commit
1eccb2dd1c
@ -191,8 +191,9 @@ static bool test_event_context(struct torture_context *test,
|
||||
while (!finished) {
|
||||
errno = 0;
|
||||
if (tevent_loop_once(ev_ctx) == -1) {
|
||||
talloc_free(ev_ctx);
|
||||
TALLOC_FREE(ev_ctx);
|
||||
torture_fail(test, talloc_asprintf(test, "Failed event loop %s\n", strerror(errno)));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user