use SIGINT instead in tests

Conflicts:
	tests/test.py
This commit is contained in:
clowwindy 2014-12-22 17:09:37 +08:00
parent c7b5a5a011
commit 536b7d1ee6
3 changed files with 13 additions and 1 deletions

View file

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