mirror of
https://github.com/google/googletest.git
synced 2025-01-15 00:47:54 +08:00
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: 369370855
This commit is contained in:
parent
0d9daa9936
commit
f16d43cd38
@ -953,9 +953,9 @@ int FuchsiaDeathTest::Wait() {
|
||||
|
||||
ReadAndInterpretStatusByte();
|
||||
|
||||
zx_info_process_t buffer;
|
||||
status_zx = child_process_.get_info(ZX_INFO_PROCESS, &buffer, sizeof(buffer),
|
||||
nullptr, nullptr);
|
||||
zx_info_process_v2_t buffer;
|
||||
status_zx = child_process_.get_info(
|
||||
ZX_INFO_PROCESS_V2, &buffer, sizeof(buffer), nullptr, nullptr);
|
||||
GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK);
|
||||
|
||||
GTEST_DEATH_TEST_CHECK_(buffer.flags & ZX_INFO_PROCESS_FLAG_EXITED);
|
||||
|
Loading…
x
Reference in New Issue
Block a user