Lines Matching refs:eth
194 ExecTestHelper eth; in TEST() local
195 eth.SetArgs({BIN_DIR "true", nullptr}); in TEST()
197 ASSERT_EQ(0, posix_spawn(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST()
202 ExecTestHelper eth; in TEST() local
203 eth.SetArgs({"true", nullptr}); in TEST()
205 ASSERT_EQ(0, posix_spawn(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST()
210 ExecTestHelper eth; in TEST() local
211 eth.SetArgs({"true", nullptr}); in TEST()
213 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST()
218 ExecTestHelper eth; in TEST() local
219 eth.SetArgs({"does-not-exist", nullptr}); in TEST()
221 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST()
226 ExecTestHelper eth; in TEST() local
227 eth.SetArgs({"sh", "-c", "exit $posix_spawn_environment_test", nullptr}); in TEST()
228 eth.SetEnv({"posix_spawn_environment_test=66", nullptr}); in TEST()
230 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), eth.GetEnv())); in TEST()
258 ExecTestHelper eth; in TEST() local
259 eth.SetArgs({"ls", "-l", "/proc/self/fd", nullptr}); in TEST()
261 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), &fa, nullptr, eth.GetArgs(), eth.GetEnv())); in TEST()
299 ExecTestHelper eth; in CatFileToString() local
300 eth.SetArgs({"cat", path, nullptr}); in CatFileToString()
302 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), &fa, sa, eth.GetArgs(), nullptr)); in CatFileToString()
516 ExecTestHelper eth; in TEST() local
517 eth.SetArgs({"true", nullptr}); in TEST()
520 ASSERT_EQ(0, posix_spawn(&spawned_pid, "true", nullptr, attrs[i % 3], eth.GetArgs(), nullptr)); in TEST()
549 ExecTestHelper eth; in TEST() local
550 eth.SetArgs({"cat", fdinfo_path.c_str(), nullptr}); in TEST()
552 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), &fa, nullptr, eth.GetArgs(), eth.GetEnv())); in TEST()