diff --git a/tests/test_raid.py b/tests/test_raid.py
index ce9618d891e11b8065e846a344b4214e756d57b9..732841b460d9423e28703cf8ea0cc9f757bea88b 100755
--- a/tests/test_raid.py
+++ b/tests/test_raid.py
@@ -33,6 +33,9 @@ if os.path.isfile('/proc/mdstat'):
         print_green('Everything fine')
     else:
         print_red('Some array is in bad shape')
+        with open('/proc/mdstat', 'r') as f:
+            d = f.read()
+        print(d)
     sys.exit(not all_ok)
 else:
     print('No software RAID array found, untestable')