|
|
@ -1945,7 +1945,7 @@ TEST(CredentialsTest, TestGetWellKnownGoogleCredentialsFilePath) { |
|
|
|
restore_home_env = true; |
|
|
|
restore_home_env = true; |
|
|
|
SetEnv("HOME", "/fake/home/for/bazel"); |
|
|
|
SetEnv("HOME", "/fake/home/for/bazel"); |
|
|
|
#endif // defined(GRPC_BAZEL_BUILD) && (defined(GPR_POSIX_ENV) ||
|
|
|
|
#endif // defined(GRPC_BAZEL_BUILD) && (defined(GPR_POSIX_ENV) ||
|
|
|
|
// defined(GPR_LINUX_ENV))
|
|
|
|
// defined(GPR_LINUX_ENV))
|
|
|
|
std::string path = grpc_get_well_known_google_credentials_file_path(); |
|
|
|
std::string path = grpc_get_well_known_google_credentials_file_path(); |
|
|
|
GPR_ASSERT(!path.empty()); |
|
|
|
GPR_ASSERT(!path.empty()); |
|
|
|
#if defined(GPR_POSIX_ENV) || defined(GPR_LINUX_ENV) |
|
|
|
#if defined(GPR_POSIX_ENV) || defined(GPR_LINUX_ENV) |
|
|
|