mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
tevent: add test_fd_speed3
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
28bf51fc65
commit
a76056fafb
@ -367,6 +367,12 @@ static bool test_fd_speed2(struct torture_context *test,
|
||||
return test_fd_speedX(test, test_data, 1);
|
||||
}
|
||||
|
||||
static bool test_fd_speed3(struct torture_context *test,
|
||||
const void *test_data)
|
||||
{
|
||||
return test_fd_speedX(test, test_data, 2);
|
||||
}
|
||||
|
||||
struct test_event_fd1_state {
|
||||
struct torture_context *tctx;
|
||||
const char *backend;
|
||||
@ -1979,6 +1985,10 @@ struct torture_suite *torture_local_event(TALLOC_CTX *mem_ctx)
|
||||
"fd_speed2",
|
||||
test_fd_speed2,
|
||||
(const void *)list[i]);
|
||||
torture_suite_add_simple_tcase_const(backend_suite,
|
||||
"fd_speed3",
|
||||
test_fd_speed3,
|
||||
(const void *)list[i]);
|
||||
torture_suite_add_simple_tcase_const(backend_suite,
|
||||
"fd1",
|
||||
test_event_fd1,
|
||||
|
Loading…
Reference in New Issue
Block a user