Commit 93e267a9 authored by Fabrice de Gans-Riberi's avatar Fabrice de Gans-Riberi
Browse files

Clean up

parent 0a6edf3c
...@@ -945,13 +945,9 @@ DeathTest::TestRole FuchsiaDeathTest::AssumeRole() { ...@@ -945,13 +945,9 @@ DeathTest::TestRole FuchsiaDeathTest::AssumeRole() {
}; };
// Spawn the child process. // Spawn the child process.
char err_msg[255];
status = fdio_spawn_etc(ZX_HANDLE_INVALID, FDIO_SPAWN_CLONE_ALL, status = fdio_spawn_etc(ZX_HANDLE_INVALID, FDIO_SPAWN_CLONE_ALL,
args.Argv()[0], args.Argv(), nullptr, 1, args.Argv()[0], args.Argv(), nullptr, 1,
&add_handle_action, &child_process_, err_msg); &add_handle_action, &child_process_, nullptr);
if (status != ZX_OK) {
GTEST_LOG_(ERROR) << err_msg;
}
GTEST_DEATH_TEST_CHECK_(status == ZX_OK); GTEST_DEATH_TEST_CHECK_(status == ZX_OK);
set_spawned(true); set_spawned(true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment