]> sourceware.org Git - lvm2.git/commitdiff
test: Fix previous commit - skip only RAID6 part
authorMarian Csontos <mcsontos@redhat.com>
Tue, 16 May 2017 08:47:53 +0000 (10:47 +0200)
committerMarian Csontos <mcsontos@redhat.com>
Tue, 16 May 2017 08:47:53 +0000 (10:47 +0200)
test/shell/lvconvert-raid-regionsize.sh

index 2cea86e1a4396cc9f9cb1d111339323cba0b7070..28840373cd5c910b620823547f3eb0c0239294c2 100644 (file)
@@ -15,7 +15,7 @@ SKIP_WITH_LVMPOLLD=1
 . lib/inittest
 
 which mkfs.ext4 || skip
-aux have_raid 1 11 0 || skip
+aux have_raid 1 9 0 || skip
 
 aux prepare_vg 6
 
@@ -61,6 +61,7 @@ fsck -fn "$DM_DEV_DIR/$vg/$lv1"
 
 _test_regionsizes raid1
 
+if aux have_raid 1 11 0; then
 # Clean up
 lvremove --yes $vg
 
@@ -78,6 +79,9 @@ _test_regionsizes raid6
 
 # Clean up
 lvremove --yes $vg
+else
+  echo "Skipping RAID6 tests"
+fi
 
 # Create 6-way raid01
 lvcreate --yes -aey --type raid10 -i 3 -m 1 --stripesize 128K -R 256K -L8M -n $lv1 $vg
This page took 0.101456 seconds and 5 git commands to generate.