• Home
  • Raw
  • Download

Lines Matching refs:pid

192   pid_t pid;  in TEST()  local
193 ASSERT_EQ(0, posix_spawn(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST()
194 AssertChildExited(pid, 0); in TEST()
200 pid_t pid; in TEST() local
201 ASSERT_EQ(0, posix_spawn(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST()
202 AssertChildExited(pid, 127); in TEST()
208 pid_t pid; in TEST() local
209 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST()
210 AssertChildExited(pid, 0); in TEST()
216 pid_t pid; in TEST() local
217 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST()
218 AssertChildExited(pid, 127); in TEST()
225 pid_t pid; in TEST() local
226 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), eth.GetEnv())); in TEST()
227 AssertChildExited(pid, 66); in TEST()
246 pid_t pid; in TEST() local
247 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), &fa, nullptr, eth.GetArgs(), eth.GetEnv())); in TEST()
255 AssertChildExited(pid, 0); in TEST()
278 pid_t pid; in CatFileToString() local
279 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), &fa, sa, eth.GetArgs(), nullptr)); in CatFileToString()
285 AssertChildExited(pid, 0); in CatFileToString()
289 pid_t pid; member
299 ASSERT_EQ(4, sscanf(content.c_str(), "%d (cat) %*c %d %d %d", &ps->pid, &ps->ppid, &ps->pgrp, in GetChildStat()
375 ASSERT_EQ(ps.pid, ps.pgrp); in TEST()
451 pid_t pid = fork(); in TEST() local
452 ASSERT_NE(-1, pid); in TEST()
454 if (pid == 0) { in TEST()
494 AssertChildExited(pid, 99); in TEST()