chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e663c61
)
Tests terminate server with SIGTERM rather than trying to send a
author
Richard Kettlewell
<rjk@greenend.org.uk>
Sun, 24 May 2009 11:42:49 +0000
(12:42 +0100)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Sun, 24 May 2009 11:42:49 +0000
(12:42 +0100)
shutdown command; the latter may not work if users haven't been set up
right.
tests/dtest.py
patch
|
blob
|
blame
|
history
diff --git
a/tests/dtest.py
b/tests/dtest.py
index dd3c3a2d8a22c2fe5b034b2f9c3fe972735ddbbd..e2fed308aadda9a7a0af4a1a88d48c5b303cb8df 100644
(file)
--- 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