diff --git a/tests/test_raid.py b/tests/test_raid.py index ffce264853fe539904b92dd57660e61a1759e58b..ba138c9f4fd8ba3cd9d99aebb12d735e5a2aca98 100755 --- a/tests/test_raid.py +++ b/tests/test_raid.py @@ -30,6 +30,10 @@ if os.path.isfile('/proc/mdstat'): all_ok = True for r in glob.glob('/dev/md*'): all_ok = min(check_raid(r), all_ok) + if all_ok: + print_green('Everything fine') + else: + print_red('Some array is in bad shape') sys.exit(not all_ok) else: print('No software RAID array found, untestable')