From 4f7c0babcf7884933f3e86ed77e7c20d820a42d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Diemer?= <stephane.diemer@ubicast.eu>
Date: Wed, 18 Apr 2018 08:25:50 +0200
Subject: [PATCH] Changed mdadm path in RAID test (refs #25198).

---
 tests/test_raid.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_raid.py b/tests/test_raid.py
index 3bc701b8..6a946221 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)
-- 
GitLab