From aa96caf6da65f0e3a62c014371c25edfe2b76fcd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu>
Date: Fri, 2 Jun 2017 09:28:04 +0200
Subject: [PATCH] add debug

---
 tests/test_raid.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/test_raid.py b/tests/test_raid.py
index 732841b4..2fbb45e0 100755
--- a/tests/test_raid.py
+++ b/tests/test_raid.py
@@ -23,7 +23,9 @@ def print_green(string):
 def check_raid(dev):
     cmd = 'mdadm -D %s' % dev
     status, output = subprocess.getstatusoutput(cmd)
-    return status == 0 
+    ok = status == 0
+    print('%s status: %s' % (dev, ok))
+    return ok
 
 if os.path.isfile('/proc/mdstat'):
     all_ok = True
-- 
GitLab