X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/e663c61b1aee7aea8fada6166d37256dfdb25735..12746062f84786be964d41ce73017fb780183826:/tests/dtest.py diff --git a/tests/dtest.py b/tests/dtest.py index dd3c3a2..e2fed30 100644 --- a/tests/dtest.py +++ b/tests/dtest.py @@ -287,10 +287,10 @@ Stop the daemon if it has not stopped already""" rc = daemon.poll() if rc == None: print " stopping daemon" - disorder.client().shutdown() + os.kill(daemon.pid, 15) print " waiting for daemon" rc = daemon.wait() - print " daemon has stopped" + print " daemon has stopped (rc=%d)" % rc else: print " daemon already stopped" daemon = None