aboutsummaryrefslogtreecommitdiffstats
path: root/tests/blogc-runserver/check_httpd_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/blogc-runserver/check_httpd_utils.c')
-rw-r--r--tests/blogc-runserver/check_httpd_utils.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/blogc-runserver/check_httpd_utils.c b/tests/blogc-runserver/check_httpd_utils.c
index 3e21e63..9b2c39c 100644
--- a/tests/blogc-runserver/check_httpd_utils.c
+++ b/tests/blogc-runserver/check_httpd_utils.c
@@ -122,11 +122,11 @@ test_get_extension(void **state)
int
main(void)
{
- const UnitTest tests[] = {
- unit_test(test_readline),
- unit_test(test_hextoi),
- unit_test(test_urldecode),
- unit_test(test_get_extension),
+ const struct CMUnitTest tests[] = {
+ cmocka_unit_test(test_readline),
+ cmocka_unit_test(test_hextoi),
+ cmocka_unit_test(test_urldecode),
+ cmocka_unit_test(test_get_extension),
};
- return run_tests(tests);
+ return cmocka_run_group_tests(tests, NULL, NULL);
}