chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CHANGES.html for 5.0.3
[disorder]
/
tests
/
dtest.py
diff --git
a/tests/dtest.py
b/tests/dtest.py
index f17cf8e1af5a665f08ddb4cacf885bd53c26f096..a5a8be9c7c483ad2de06fad4831e8857ec1526de 100644
(file)
--- a/
tests/dtest.py
+++ b/
tests/dtest.py
@@
-286,6
+286,7
@@
def stop_daemon():
Stop the daemon if it has not stopped already"""
global daemon
if daemon == None:
Stop the daemon if it has not stopped already"""
global daemon
if daemon == None:
+ print " (daemon not running)"
return
rc = daemon.poll()
if rc == None:
return
rc = daemon.poll()
if rc == None:
@@
-337,7
+338,9
@@
def run(module=None, report=True):
except Exception, e:
traceback.print_exc(None, sys.stderr)
failures += 1
except Exception, e:
traceback.print_exc(None, sys.stderr)
failures += 1
- stop_daemon()
+ finally:
+ stop_daemon()
+ os.system("ps -ef | grep disorderd")
if report:
if failures:
print " FAILED"
if report:
if failures:
print " FAILED"