20 is_stonith_param(
void **state)
41 is_stonith_action_param(
void **state)
53 main(
int argc,
char **argv)
55 const struct CMUnitTest tests[] = {
56 cmocka_unit_test(is_stonith_param),
57 cmocka_unit_test(is_stonith_action_param),
60 cmocka_set_message_output(CM_OUTPUT_TAP);
61 return cmocka_run_group_tests(tests, NULL, NULL);
API related to resource agents.
#define PCMK_STONITH_HOST_CHECK
#define PCMK_STONITH_PROVIDES
#define PCMK_STONITH_HOST_MAP
bool pcmk_stonith_param(const char *param)
Check whether a given stonith parameter is handled by Pacemaker.
int main(int argc, char **argv)
#define PCMK_STONITH_STONITH_TIMEOUT
#define PCMK_STONITH_HOST_LIST
#define PCMK_STONITH_ACTION_LIMIT
#define PCMK_STONITH_HOST_ARGUMENT
#define PCMK_STONITH_DELAY_BASE
#define PCMK_STONITH_DELAY_MAX