From: Stefan Metzmacher Date: Mon, 24 Apr 2023 14:37:38 +0000 (+0000) Subject: tevent: add test_fd_speed3 X-Git-Tag: tevent-0.16.0~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a76056fafb489624eb3bb451f373b256b8895ec5;p=thirdparty%2Fsamba.git tevent: add test_fd_speed3 Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme --- diff --git a/lib/tevent/testsuite.c b/lib/tevent/testsuite.c index c5f7ef32146..4e48b9c7537 100644 --- a/lib/tevent/testsuite.c +++ b/lib/tevent/testsuite.c @@ -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,