summaryrefslogtreecommitdiffstats
path: root/src/tests/cmocka/sss_nss_idmap-tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/cmocka/sss_nss_idmap-tests.c')
-rw-r--r--src/tests/cmocka/sss_nss_idmap-tests.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/cmocka/sss_nss_idmap-tests.c b/src/tests/cmocka/sss_nss_idmap-tests.c
index 4141a3279..4ba8f2f92 100644
--- a/src/tests/cmocka/sss_nss_idmap-tests.c
+++ b/src/tests/cmocka/sss_nss_idmap-tests.c
@@ -137,10 +137,10 @@ void test_getorigbyname(void **state)
int main(int argc, const char *argv[])
{
- const UnitTest tests[] = {
- unit_test(test_getsidbyname),
- unit_test(test_getorigbyname),
+ const struct CMUnitTest tests[] = {
+ cmocka_unit_test(test_getsidbyname),
+ cmocka_unit_test(test_getorigbyname),
};
- return run_tests(tests);
+ return cmocka_run_group_tests(tests, NULL, NULL);
}