Home | History | Annotate | Download | only in test

Lines Matching refs:child

67     def wait(self, child):
68 """Wait for child to finish, ignoring EINTR."""
71 child.wait()
94 child = ignoring_eintr(subprocess.Popen, ['kill', '-HUP', str(pid)])
95 if child:
96 self.wait(child)
106 del child
108 child = subprocess.Popen(['kill', '-USR1', str(pid)])
110 self.wait(child)
119 child = ignoring_eintr(subprocess.Popen, ['kill', '-USR2', str(pid)])
120 if child:
121 self.wait(child) # Nothing should happen.
149 # This function spawns a child process to insulate the main
151 # communicates with that child process over a pipe and
152 # re-raises information about any exceptions the child
157 child = os.fork()
158 if child == 0:
159 # In the child process; run the test and report results
186 os.kill(child, signal.SIGKILL)
191 os.waitpid(child, 0)
325 # Child code: sleep to give the parent enough time to enter the
329 # parent process before the child exits. If the child exits
341 # Make sure the child is eventually reaped, else it'll be a
345 # Close the write end of the pipe. The child has a copy, so
346 # it's not really closed until the child exits. We need it to
347 # close when the child exits so that in the non-interrupt case