Home
last modified time | relevance | path

Searched refs:fa (Results 1 – 1 of 1) sorted by relevance

/bionic/tests/
Dspawn_test.cpp236 posix_spawn_file_actions_t fa; in TEST() local
237 ASSERT_EQ(0, posix_spawn_file_actions_init(&fa)); in TEST()
239 ASSERT_EQ(0, posix_spawn_file_actions_addclose(&fa, fds[0])); in TEST()
240 ASSERT_EQ(0, posix_spawn_file_actions_adddup2(&fa, fds[1], 1)); in TEST()
241 ASSERT_EQ(0, posix_spawn_file_actions_addclose(&fa, fds[1])); in TEST()
243 ASSERT_EQ(0, posix_spawn_file_actions_addclose(&fa, fds[1])); in TEST()
244 ASSERT_EQ(0, posix_spawn_file_actions_addopen(&fa, 56, "/proc/version", O_RDONLY, 0)); in TEST()
249 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), &fa, nullptr, eth.GetArgs(), eth.GetEnv())); in TEST()
250 ASSERT_EQ(0, posix_spawn_file_actions_destroy(&fa)); in TEST()
272 posix_spawn_file_actions_t fa; in CatFileToString() local
[all …]