1
0
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:
Stefan Metzmacher 2023-04-24 14:37:38 +00:00 committed by Ralph Boehme
parent 28bf51fc65
commit a76056fafb

View File

@ -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,