__wrap_getpwnam_r 71 lib/common/mock_private.h int __wrap_getpwnam_r(const char *name, struct passwd *pwd, __wrap_getpwnam_r 44 lib/common/tests/utils/crm_user_lookup_test.c expect_string(__wrap_getpwnam_r, name, "hauser"); __wrap_getpwnam_r 45 lib/common/tests/utils/crm_user_lookup_test.c expect_any(__wrap_getpwnam_r, pwd); __wrap_getpwnam_r 46 lib/common/tests/utils/crm_user_lookup_test.c expect_any(__wrap_getpwnam_r, buf); __wrap_getpwnam_r 47 lib/common/tests/utils/crm_user_lookup_test.c expect_value(__wrap_getpwnam_r, buflen, PCMK__PW_BUFFER_LEN); __wrap_getpwnam_r 48 lib/common/tests/utils/crm_user_lookup_test.c expect_any(__wrap_getpwnam_r, result); __wrap_getpwnam_r 49 lib/common/tests/utils/crm_user_lookup_test.c will_return(__wrap_getpwnam_r, EIO); __wrap_getpwnam_r 50 lib/common/tests/utils/crm_user_lookup_test.c will_return(__wrap_getpwnam_r, NULL); __wrap_getpwnam_r 66 lib/common/tests/utils/crm_user_lookup_test.c expect_string(__wrap_getpwnam_r, name, "hauser"); __wrap_getpwnam_r 67 lib/common/tests/utils/crm_user_lookup_test.c expect_any(__wrap_getpwnam_r, pwd); __wrap_getpwnam_r 68 lib/common/tests/utils/crm_user_lookup_test.c expect_any(__wrap_getpwnam_r, buf); __wrap_getpwnam_r 69 lib/common/tests/utils/crm_user_lookup_test.c expect_value(__wrap_getpwnam_r, buflen, PCMK__PW_BUFFER_LEN); __wrap_getpwnam_r 70 lib/common/tests/utils/crm_user_lookup_test.c expect_any(__wrap_getpwnam_r, result); __wrap_getpwnam_r 71 lib/common/tests/utils/crm_user_lookup_test.c will_return(__wrap_getpwnam_r, 0); __wrap_getpwnam_r 72 lib/common/tests/utils/crm_user_lookup_test.c will_return(__wrap_getpwnam_r, NULL); __wrap_getpwnam_r 95 lib/common/tests/utils/crm_user_lookup_test.c expect_string(__wrap_getpwnam_r, name, "hauser"); __wrap_getpwnam_r 96 lib/common/tests/utils/crm_user_lookup_test.c expect_any(__wrap_getpwnam_r, pwd); __wrap_getpwnam_r 97 lib/common/tests/utils/crm_user_lookup_test.c expect_any(__wrap_getpwnam_r, buf); __wrap_getpwnam_r 98 lib/common/tests/utils/crm_user_lookup_test.c expect_value(__wrap_getpwnam_r, buflen, PCMK__PW_BUFFER_LEN); __wrap_getpwnam_r 99 lib/common/tests/utils/crm_user_lookup_test.c expect_any(__wrap_getpwnam_r, result); __wrap_getpwnam_r 100 lib/common/tests/utils/crm_user_lookup_test.c will_return(__wrap_getpwnam_r, 0); __wrap_getpwnam_r 101 lib/common/tests/utils/crm_user_lookup_test.c will_return(__wrap_getpwnam_r, &returned_ent); __wrap_getpwnam_r 108 lib/common/tests/utils/crm_user_lookup_test.c expect_string(__wrap_getpwnam_r, name, "hauser"); __wrap_getpwnam_r 109 lib/common/tests/utils/crm_user_lookup_test.c expect_any(__wrap_getpwnam_r, pwd); __wrap_getpwnam_r 110 lib/common/tests/utils/crm_user_lookup_test.c expect_any(__wrap_getpwnam_r, buf); __wrap_getpwnam_r 111 lib/common/tests/utils/crm_user_lookup_test.c expect_value(__wrap_getpwnam_r, buflen, PCMK__PW_BUFFER_LEN); __wrap_getpwnam_r 112 lib/common/tests/utils/crm_user_lookup_test.c expect_any(__wrap_getpwnam_r, result); __wrap_getpwnam_r 113 lib/common/tests/utils/crm_user_lookup_test.c will_return(__wrap_getpwnam_r, 0); __wrap_getpwnam_r 114 lib/common/tests/utils/crm_user_lookup_test.c will_return(__wrap_getpwnam_r, &returned_ent); __wrap_getpwnam_r 29 lib/common/tests/utils/pcmk_daemon_user_test.c expect_string(__wrap_getpwnam_r, name, "hacluster"); __wrap_getpwnam_r 30 lib/common/tests/utils/pcmk_daemon_user_test.c expect_any(__wrap_getpwnam_r, pwd); __wrap_getpwnam_r 31 lib/common/tests/utils/pcmk_daemon_user_test.c expect_any(__wrap_getpwnam_r, buf); __wrap_getpwnam_r 32 lib/common/tests/utils/pcmk_daemon_user_test.c expect_value(__wrap_getpwnam_r, buflen, PCMK__PW_BUFFER_LEN); __wrap_getpwnam_r 33 lib/common/tests/utils/pcmk_daemon_user_test.c expect_any(__wrap_getpwnam_r, result); __wrap_getpwnam_r 34 lib/common/tests/utils/pcmk_daemon_user_test.c will_return(__wrap_getpwnam_r, ENOENT); __wrap_getpwnam_r 35 lib/common/tests/utils/pcmk_daemon_user_test.c will_return(__wrap_getpwnam_r, NULL); __wrap_getpwnam_r 58 lib/common/tests/utils/pcmk_daemon_user_test.c expect_string(__wrap_getpwnam_r, name, "hacluster"); __wrap_getpwnam_r 59 lib/common/tests/utils/pcmk_daemon_user_test.c expect_any(__wrap_getpwnam_r, pwd); __wrap_getpwnam_r 60 lib/common/tests/utils/pcmk_daemon_user_test.c expect_any(__wrap_getpwnam_r, buf); __wrap_getpwnam_r 61 lib/common/tests/utils/pcmk_daemon_user_test.c expect_value(__wrap_getpwnam_r, buflen, PCMK__PW_BUFFER_LEN); __wrap_getpwnam_r 62 lib/common/tests/utils/pcmk_daemon_user_test.c expect_any(__wrap_getpwnam_r, result); __wrap_getpwnam_r 63 lib/common/tests/utils/pcmk_daemon_user_test.c will_return(__wrap_getpwnam_r, 0); __wrap_getpwnam_r 64 lib/common/tests/utils/pcmk_daemon_user_test.c will_return(__wrap_getpwnam_r, &returned_ent);