def testPid(self):
    pid = utils.StartDaemon("echo $$ > %s" % self.tmpfile)
    self._wait(self.tmpfile, 60.0, str(pid))
dataset/ETHPy150Open ganeti/ganeti/test/py/ganeti.utils.process_unittest.py/TestStartDaemon.testPid/original