chiark / gitweb /
scripts/dist now supports chroots.
[disorder] / tests / dtest.py
index f17cf8e1af5a665f08ddb4cacf885bd53c26f096..a5a8be9c7c483ad2de06fad4831e8857ec1526de 100644 (file)
@@ -286,6 +286,7 @@ def stop_daemon():
 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:
@@ -337,7 +338,9 @@ def run(module=None, report=True):
     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"