Skip to contentSkip to conversation

master - test: Fix skipped cleanup

PATCH Marian Csontos 1 participant 1 message May 17, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=1fb13e8660340492e3d2f249caa78bacc5b8410a
Commit:        1fb13e8660340492e3d2f249caa78bacc5b8410a
Parent:        48408ece6ddd730c394e3081f9a2d78d1771f129
Author:        Marian Csontos <[email protected]>
AuthorDate:    Wed May 17 11:37:29 2017 +0200
Committer:     Marian Csontos <[email protected]>
CommitterDate: Wed May 17 11:37:29 2017 +0200

test: Fix skipped cleanup

---
 test/shell/lvconvert-raid-regionsize.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/shell/lvconvert-raid-regionsize.sh +1 -1
index 2884037..2a9ef62 100644
@@ -61,10 +61,10 @@ fsck -fn "$DM_DEV_DIR/$vg/$lv1"
 
 _test_regionsizes raid1
 
-if aux have_raid 1 11 0; then
 # Clean up
 lvremove --yes $vg
 
+if aux have_raid 1 11 0; then
 # Create 5-way raid6
 lvcreate --yes -aey --type raid6 -i 3 --stripesize 128K -R 256K -L8M -n $lv1 $vg
 check lv_field $vg/$lv1 segtype "raid6"