19 empty_params(
void **state)
29 equal_versions(
void **state)
36 unequal_versions(
void **state)
49 shorter_versions(
void **state)
55 int main(
int argc,
char **argv)
57 const struct CMUnitTest tests[] = {
58 cmocka_unit_test(empty_params),
59 cmocka_unit_test(equal_versions),
60 cmocka_unit_test(unequal_versions),
61 cmocka_unit_test(shorter_versions),
64 cmocka_set_message_output(CM_OUTPUT_TAP);
65 return cmocka_run_group_tests(tests, NULL, NULL);
int main(int argc, char **argv)
int compare_version(const char *version1, const char *version2)