diff --git a/daemons/ipa-otpd/ipa_otpd_queue_cmocka_tests.c b/daemons/ipa-otpd/ipa_otpd_queue_cmocka_tests.c index 068431e64..ecb5da003 100644 --- a/daemons/ipa-otpd/ipa_otpd_queue_cmocka_tests.c +++ b/daemons/ipa-otpd/ipa_otpd_queue_cmocka_tests.c @@ -69,7 +69,7 @@ static void assert_elt_equal(struct otpd_queue_item *e1, assert_int_equal(e1->msgid, e2->msgid); } -static void test_single_insert() +static void test_single_insert(void **state) { struct otpd_queue q = { NULL }; struct otpd_queue_item *ein, *eout; @@ -90,7 +90,7 @@ static void test_single_insert() free_elts(&q); } -static void test_jump_insert() +static void test_jump_insert(void **state) { struct otpd_queue q = { NULL }; struct otpd_queue_item *echeck; @@ -106,7 +106,7 @@ static void test_jump_insert() free_elts(&q); } -static void test_garbage_insert() +static void test_garbage_insert(void **state) { struct otpd_queue q = { NULL }; struct otpd_queue_item *e, *g; @@ -121,7 +121,7 @@ static void test_garbage_insert() free_elts(&q); } -static void test_removal() +static void test_removal(void **state) { struct otpd_queue q = { NULL }; @@ -149,7 +149,7 @@ static void pick_id(struct otpd_queue *q, int msgid) e = otpd_queue_pop_msgid(q, msgid); assert_ptr_equal(e, NULL); } -static void test_pick_removal() +static void test_pick_removal(void **state) { struct otpd_queue q = { NULL }; @@ -166,7 +166,7 @@ static void test_pick_removal() free_elts(&q); } -static void test_iter() +static void test_iter(void **state) { krb5_error_code ret; struct otpd_queue q = { NULL };