diff --git a/t/unit/utils/os_test.c b/t/unit/utils/os_test.c
index 9525f49184cd4c2963edbfee7d4e542505494f98..333c310126b23affb0cbcd0d62f483f90f72fdd1 100644 (file)
--- a/t/unit/utils/os_test.c
+++ b/t/unit/utils/os_test.c
#endif
#include "utils/os.h"
-#include "libsysdb_test.h"
+#include "testutils.h"
#include <errno.h>
}
END_TEST
-Suite *
-util_os_suite(void)
+TEST_MAIN("utils::os")
{
- Suite *s = suite_create("utils::os");
- TCase *tc;
-
- tc = tcase_create("core");
+ TCase *tc = tcase_create("core");
tcase_add_test(tc, test_mkdir_remove);
- suite_add_tcase(s, tc);
-
- return s;
-} /* util_os_suite */
+ ADD_TCASE(tc);
+}
+TEST_MAIN_END
/* vim: set tw=78 sw=4 ts=4 noexpandtab : */