Gitweb:
https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=f4f408610c6801a5039...
Commit: f4f408610c6801a50395f95b8116e2037a58761e
Parent: cdb49216c5b00a4d73dab3f56be76bde8d128186
Author: Marian Csontos <mcsontos(a)redhat.com>
AuthorDate: Tue May 16 10:47:53 2017 +0200
Committer: Marian Csontos <mcsontos(a)redhat.com>
CommitterDate: Tue May 16 10:47:53 2017 +0200
test: Fix previous commit - skip only RAID6 part
---
test/shell/lvconvert-raid-regionsize.sh | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/test/shell/lvconvert-raid-regionsize.sh
b/test/shell/lvconvert-raid-regionsize.sh
index 2cea86e..2884037 100644
--- a/test/shell/lvconvert-raid-regionsize.sh
+++ b/test/shell/lvconvert-raid-regionsize.sh
@@ -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