diff options
| author | Andreas Schneider <asn@samba.org> | 2015-08-06 16:08:32 +0200 |
|---|---|---|
| committer | Andreas Schneider <asn@samba.org> | 2015-08-11 13:58:22 +0200 |
| commit | 055eb78f3690008021e17da8714da9db5247308c (patch) | |
| tree | 55719919f9cdd60110be1ec3bb3a75918fd87f94 /tests/test_sendmsg_recvmsg_fd.c | |
| parent | 00eb31542d26c4f4cfb245a58795fcaf5653c953 (diff) | |
| download | socket_wrapper-055eb78f3690008021e17da8714da9db5247308c.tar.gz socket_wrapper-055eb78f3690008021e17da8714da9db5247308c.tar.xz socket_wrapper-055eb78f3690008021e17da8714da9db5247308c.zip | |
tests: Migrate to new cmocka API
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
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; } |
