fix daemon and add fastopen tests

This commit is contained in:
clowwindy 2014-12-22 17:58:12 +08:00
parent 072afd68f2
commit 5ea8403e56
4 changed files with 14 additions and 9 deletions

View file

@ -138,9 +138,7 @@ try:
finally:
for p in [p1, p2]:
try:
print('kill', file=sys.stderr)
os.kill(p.pid, signal.SIGINT)
print('waitpid', file=sys.stderr)
os.waitpid(p.pid, 0)
except OSError:
pass