diff options
Diffstat (limited to 'tests/test_sendmsg_recvmsg_fd.c')
| -rw-r--r-- | tests/test_sendmsg_recvmsg_fd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_sendmsg_recvmsg_fd.c b/tests/test_sendmsg_recvmsg_fd.c index 78b4235..30c9861 100644 --- a/tests/test_sendmsg_recvmsg_fd.c +++ b/tests/test_sendmsg_recvmsg_fd.c @@ -106,11 +106,11 @@ static void test_sendmsg_recvmsg_fd(void **state) int main(void) { int rc; - const UnitTest tests[] = { - unit_test(test_sendmsg_recvmsg_fd), + const struct CMUnitTest tests[] = { + cmocka_unit_test(test_sendmsg_recvmsg_fd), }; - rc = run_tests(tests); + rc = cmocka_run_group_tests(tests, NULL, NULL); return rc; } |
