Lines Matching refs:eth
192 ExecTestHelper eth; in TEST() local
193 eth.SetArgs({BIN_DIR "true", nullptr}); in TEST()
195 ASSERT_EQ(0, posix_spawn(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST()
200 ExecTestHelper eth; in TEST() local
201 eth.SetArgs({"true", nullptr}); in TEST()
203 ASSERT_EQ(0, posix_spawn(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST()
208 ExecTestHelper eth; in TEST() local
209 eth.SetArgs({"true", nullptr}); in TEST()
211 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST()
216 ExecTestHelper eth; in TEST() local
217 eth.SetArgs({"does-not-exist", nullptr}); in TEST()
219 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST()
224 ExecTestHelper eth; in TEST() local
225 eth.SetArgs({"sh", "-c", "exit $posix_spawn_environment_test", nullptr}); in TEST()
226 eth.SetEnv({"posix_spawn_environment_test=66", nullptr}); in TEST()
228 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), eth.GetEnv())); in TEST()
246 ExecTestHelper eth; in TEST() local
247 eth.SetArgs({"ls", "-l", "/proc/self/fd", nullptr}); in TEST()
249 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), &fa, nullptr, eth.GetArgs(), eth.GetEnv())); in TEST()
278 ExecTestHelper eth; in CatFileToString() local
279 eth.SetArgs({"cat", path, nullptr}); in CatFileToString()
281 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), &fa, sa, eth.GetArgs(), nullptr)); in CatFileToString()
495 ExecTestHelper eth; in TEST() local
496 eth.SetArgs({"true", nullptr}); in TEST()
499 ASSERT_EQ(0, posix_spawn(&spawned_pid, "true", nullptr, attrs[i % 3], eth.GetArgs(), nullptr)); in TEST()