__wrap_getenv 39 lib/common/mock_private.h char *__wrap_getenv(const char *name); __wrap_getenv 23 lib/common/tests/io/pcmk__get_tmpdir_test.c expect_string(__wrap_getenv, name, "TMPDIR"); __wrap_getenv 24 lib/common/tests/io/pcmk__get_tmpdir_test.c will_return(__wrap_getenv, NULL); // getenv("TMPDIR") return value __wrap_getenv 28 lib/common/tests/io/pcmk__get_tmpdir_test.c expect_string(__wrap_getenv, name, "TMPDIR"); __wrap_getenv 29 lib/common/tests/io/pcmk__get_tmpdir_test.c will_return(__wrap_getenv, ""); // getenv("TMPDIR") return value __wrap_getenv 33 lib/common/tests/io/pcmk__get_tmpdir_test.c expect_string(__wrap_getenv, name, "TMPDIR"); __wrap_getenv 34 lib/common/tests/io/pcmk__get_tmpdir_test.c will_return(__wrap_getenv, "subpath"); // getenv("TMPDIR") return value __wrap_getenv 48 lib/common/tests/io/pcmk__get_tmpdir_test.c expect_string(__wrap_getenv, name, "TMPDIR"); __wrap_getenv 49 lib/common/tests/io/pcmk__get_tmpdir_test.c will_return(__wrap_getenv, "/var/tmp"); // getenv("TMPDIR") return value __wrap_getenv 53 lib/common/tests/io/pcmk__get_tmpdir_test.c expect_string(__wrap_getenv, name, "TMPDIR"); __wrap_getenv 54 lib/common/tests/io/pcmk__get_tmpdir_test.c will_return(__wrap_getenv, "/"); // getenv("TMPDIR") return value __wrap_getenv 58 lib/common/tests/io/pcmk__get_tmpdir_test.c expect_string(__wrap_getenv, name, "TMPDIR"); __wrap_getenv 59 lib/common/tests/io/pcmk__get_tmpdir_test.c will_return(__wrap_getenv, "/tmp/abcd.1234"); // getenv("TMPDIR") return value __wrap_getenv 29 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); __wrap_getenv 30 lib/common/tests/options/pcmk__env_option_enabled_test.c will_return(__wrap_getenv, "true"); __wrap_getenv 33 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); __wrap_getenv 34 lib/common/tests/options/pcmk__env_option_enabled_test.c will_return(__wrap_getenv, "true"); __wrap_getenv 46 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); __wrap_getenv 47 lib/common/tests/options/pcmk__env_option_enabled_test.c will_return(__wrap_getenv, "false"); __wrap_getenv 50 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); __wrap_getenv 51 lib/common/tests/options/pcmk__env_option_enabled_test.c will_return(__wrap_getenv, "false"); __wrap_getenv 63 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); __wrap_getenv 64 lib/common/tests/options/pcmk__env_option_enabled_test.c will_return(__wrap_getenv, "pacemaker-execd"); __wrap_getenv 67 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); __wrap_getenv 68 lib/common/tests/options/pcmk__env_option_enabled_test.c will_return(__wrap_getenv, "pacemaker-execd,pacemaker-fenced"); __wrap_getenv 71 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); __wrap_getenv 72 lib/common/tests/options/pcmk__env_option_enabled_test.c will_return(__wrap_getenv, "pacemaker-controld,pacemaker-execd"); __wrap_getenv 75 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); __wrap_getenv 76 lib/common/tests/options/pcmk__env_option_enabled_test.c will_return(__wrap_getenv, __wrap_getenv 89 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); __wrap_getenv 90 lib/common/tests/options/pcmk__env_option_enabled_test.c will_return(__wrap_getenv, "pacemaker-controld,pacemaker-fenced"); __wrap_getenv 74 lib/common/tests/options/pcmk__env_option_test.c expect_string(__wrap_getenv, name, buf); __wrap_getenv 75 lib/common/tests/options/pcmk__env_option_test.c will_return(__wrap_getenv, "value"); __wrap_getenv 87 lib/common/tests/options/pcmk__env_option_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); __wrap_getenv 88 lib/common/tests/options/pcmk__env_option_test.c will_return(__wrap_getenv, NULL); __wrap_getenv 90 lib/common/tests/options/pcmk__env_option_test.c expect_string(__wrap_getenv, name, "HA_env_var"); __wrap_getenv 91 lib/common/tests/options/pcmk__env_option_test.c will_return(__wrap_getenv, NULL); __wrap_getenv 104 lib/common/tests/options/pcmk__env_option_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); __wrap_getenv 105 lib/common/tests/options/pcmk__env_option_test.c will_return(__wrap_getenv, "value"); __wrap_getenv 117 lib/common/tests/options/pcmk__env_option_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); __wrap_getenv 118 lib/common/tests/options/pcmk__env_option_test.c will_return(__wrap_getenv, NULL); __wrap_getenv 120 lib/common/tests/options/pcmk__env_option_test.c expect_string(__wrap_getenv, name, "HA_env_var"); __wrap_getenv 121 lib/common/tests/options/pcmk__env_option_test.c will_return(__wrap_getenv, "value");