diff --git a/tests/test_raid.py b/tests/test_raid.py index 2fbb45e053f2b4d54e3cb60d2ef30bc0fe0de422..a80245ae16bf7d43a89708d90e926b1281d4ece5 100755 --- a/tests/test_raid.py +++ b/tests/test_raid.py @@ -30,7 +30,9 @@ def check_raid(dev): if os.path.isfile('/proc/mdstat'): all_ok = True for r in glob.glob('/dev/md*'): - all_ok = min(check_raid(r), all_ok) + # ignore /dev/md folder + if os.path.isfile(r): + all_ok = min(check_raid(r), all_ok) if all_ok: print_green('Everything fine') else: