tevent: add test_fd_speed3
authorStefan Metzmacher <metze@samba.org>
Mon, 24 Apr 2023 14:37:38 +0000 (14:37 +0000)
committerRalph Boehme <slow@samba.org>
Fri, 13 Oct 2023 09:49:33 +0000 (09:49 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/tevent/testsuite.c

index c5f7ef3214645abb06046988931501631c9aa93e..4e48b9c75371a2aaab210ce71df43640552d1bab 100644 (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,