]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - tests/00raid0
tests: Gate tests for linear flavor with variable LINEAR
[thirdparty/mdadm.git] / tests / 00raid0
index 9b8896cbdc52ff58ab58158dee42ae4bb6a03e0b..6407c320fd65ccd743adbd0fb42b3df90a4836be 100644 (file)
@@ -16,6 +16,10 @@ check raid0
 testdev $md0 5 $size 512
 mdadm -S $md0
 
+if [ "$LINEAR" != "yes" ]; then
+  echo -ne 'skipping... '
+  exit 0
+fi
 
 # now same again with different chunk size
 for chunk in 4 32 256