19 bad_input(
void **state) {
31 ends_with(
void **state) {
46 ends_with_ext(
void **state) {
59 main(
int argc,
char **argv)
61 const struct CMUnitTest tests[] = {
62 cmocka_unit_test(bad_input),
63 cmocka_unit_test(ends_with),
64 cmocka_unit_test(ends_with_ext),
67 cmocka_set_message_output(CM_OUTPUT_TAP);
68 return cmocka_run_group_tests(tests, NULL, NULL);
bool pcmk__ends_with(const char *s, const char *match)
int main(int argc, char **argv)
bool pcmk__ends_with_ext(const char *s, const char *match)