chiark / gitweb /
List processes after daemon is supposed to be stopped (it's still not
authorRichard Kettlewell <rjk@greenend.org.uk>
Sat, 13 Mar 2010 10:33:48 +0000 (10:33 +0000)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sat, 13 Mar 2010 10:33:48 +0000 (10:33 +0000)
stopped in some case).

tests/dtest.py

index ec42e70..a5a8be9 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:
@@ -339,6 +340,7 @@ def run(module=None, report=True):
         failures += 1
     finally:
         stop_daemon()
+        os.system("ps -ef | grep disorderd")
     if report:
         if failures:
             print " FAILED"