diff options
Diffstat (limited to 'tests/unittests/torture_isipaddr.c')
-rw-r--r-- | tests/unittests/torture_isipaddr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unittests/torture_isipaddr.c b/tests/unittests/torture_isipaddr.c index 258082ea..a6582a29 100644 --- a/tests/unittests/torture_isipaddr.c +++ b/tests/unittests/torture_isipaddr.c @@ -45,13 +45,13 @@ static void torture_ssh_is_ipaddr(void **state) { int torture_run_tests(void) { int rc; - UnitTest tests[] = { - unit_test(torture_ssh_is_ipaddr) + struct CMUnitTest tests[] = { + cmocka_unit_test(torture_ssh_is_ipaddr) }; ssh_init(); torture_filter_tests(tests); - rc=run_tests(tests); + rc = cmocka_run_group_tests(tests, NULL, NULL); ssh_finalize(); return rc; } |