]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - tests/00multipath
Generic support for --consistency-policy and PPL
[thirdparty/mdadm.git] / tests / 00multipath
index cc52fb3812cbebd2fb572aa1d8e7744612c721c2..84e4d693b4603e0927227f23c607b977420f297f 100644 (file)
@@ -2,23 +2,28 @@
 #
 # create a multipath, and fail and stuff
 
+if [ "$MULTIPATH" != "yes" ]; then
+  echo -ne 'skipping... '
+  exit 0
+fi
+
 mdadm -CR $md1 -l multipath -n2 $path0 $path1
 
-testdev $md1 1 $mdsize1 1
+testdev $md1 1 $mdsize12 1
 
 mdadm $md1 -f $path0
 rotest $md1
-testdev $md1 1 $mdsize1 1
+testdev $md1 1 $mdsize12 1
 
 mdadm $md1 -r $path0
 mdadm $md1 -a $path0
 
 rotest $md1
-testdev $md1 1 $mdsize1 1
+testdev $md1 1 $mdsize12 1
 
 mdadm $md1 -f $path1
 mdadm $md1 -r $path1
 rotest $md1
-testdev $md1 1 $mdsize1 1
+testdev $md1 1 $mdsize12 1
 
 mdadm -S $md1