summaryrefslogtreecommitdiffstats
path: root/googletest/src/gtest-death-test.cc
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2021-04-20 01:58:16 (GMT)
committerAndy Soffer <asoffer@google.com>2021-04-21 14:24:25 (GMT)
commit0d9daa99365eb00a2b81392b6ec2c8a802769ef0 (patch)
tree84c06aec27d8827f3d6110ed4090271094ab5ead /googletest/src/gtest-death-test.cc
parent566fdcc928b749dd79c730fe14b5f79c07999d7b (diff)
downloadgoogletest-0d9daa99365eb00a2b81392b6ec2c8a802769ef0.zip
googletest-0d9daa99365eb00a2b81392b6ec2c8a802769ef0.tar.gz
googletest-0d9daa99365eb00a2b81392b6ec2c8a802769ef0.tar.bz2
Googletest export
This callsite was previously updated to use ZX_INFO_PROCESS_V2 as a part of a soft transition. It is now time to revert back to `ZX_INFO_PROCESS` (which is now an alias of the former). See fxbug.dev/30751 for more details. PiperOrigin-RevId: 369349579
Diffstat (limited to 'googletest/src/gtest-death-test.cc')
-rw-r--r--googletest/src/gtest-death-test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/googletest/src/gtest-death-test.cc b/googletest/src/gtest-death-test.cc
index d3d5feb..bf4f633 100644
--- a/googletest/src/gtest-death-test.cc
+++ b/googletest/src/gtest-death-test.cc
@@ -953,9 +953,9 @@ int FuchsiaDeathTest::Wait() {
ReadAndInterpretStatusByte();
- zx_info_process_v2_t buffer;
- status_zx = child_process_.get_info(
- ZX_INFO_PROCESS_V2, &buffer, sizeof(buffer), nullptr, nullptr);
+ zx_info_process_t buffer;
+ status_zx = child_process_.get_info(ZX_INFO_PROCESS, &buffer, sizeof(buffer),
+ nullptr, nullptr);
GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK);
GTEST_DEATH_TEST_CHECK_(buffer.flags & ZX_INFO_PROCESS_FLAG_EXITED);