21 valid_strategy(
void **state) {
33 invalid_strategy(
void **state) {
41 main(
int argc,
char **argv) {
42 const struct CMUnitTest tests[] = {
43 cmocka_unit_test(valid_strategy),
44 cmocka_unit_test(invalid_strategy),
47 cmocka_set_message_output(CM_OUTPUT_TAP);
48 return cmocka_run_group_tests(tests, NULL, NULL);
int main(int argc, char **argv)
bool pcmk__validate_health_strategy(const char *value)