Searched refs:pids_getdents (Results 1 – 1 of 1) sorted by relevance
55 pid_t *pids_getdents; in FIXTURE() local80 self->pids_getdents = malloc(sizeof(pid_t) * self->nr_procs); in FIXTURE_SETUP()81 ASSERT_NE(self->pids_getdents, NULL); in FIXTURE_SETUP()97 pid = waitpid(self->pids_getdents[i], &wstatus, 0); in FIXTURE_TEARDOWN()98 ASSERT_EQ(pid, self->pids_getdents[i]); in FIXTURE_TEARDOWN()102 free(self->pids_getdents); in FIXTURE_TEARDOWN()147 self->pids_getdents[i] = fork();148 ASSERT_GE(self->pids_getdents[i], 0);150 if (self->pids_getdents[i] != 0)153 self->pids_getdents[i] = getpid();[all …]