diff --git a/tests/test_raid.py b/tests/test_raid.py index 3bc701b8fc2788104f9bb0136262348b998094d8..6a946221eda272234bd0b9cd8227ba74de2d77b1 100755 --- a/tests/test_raid.py +++ b/tests/test_raid.py @@ -24,7 +24,7 @@ def print_green(string): def check_raid(dev): - cmd = 'mdadm -D %s' % dev + cmd = '/sbin/mdadm -D %s' % dev status, output = subprocess.getstatusoutput(cmd) if status != 0: print_red('The mdadm command on %s failed:' % dev)