Skip to contentSkip to conversation

master - test: add missing yes option to lvconvert stripe removal

PATCH Heinz Mauelshagen 1 participant 1 message May 16, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=48408ece6ddd730c394e3081f9a2d78d1771f129
Commit:        48408ece6ddd730c394e3081f9a2d78d1771f129
Parent:        f4f408610c6801a50395f95b8116e2037a58761e
Author:        Heinz Mauelshagen <[email protected]>
AuthorDate:    Tue May 16 17:51:58 2017 +0200
Committer:     Heinz Mauelshagen <[email protected]>
CommitterDate: Tue May 16 17:52:54 2017 +0200

test: add missing yes option to lvconvert stripe removal

---
 .../lvconvert-raid-reshape-striped_to_linear.sh    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/shell/lvconvert-raid-reshape-striped_to_linear.sh +1 -1
index 4051862..d926827 100644
@@ -79,7 +79,7 @@ aux wait_for_sync $vg $lv1 1
 fsck -fn $DM_DEV_DIR/$vg/$lv1
 
 # Remove the now freed legs
-lvconvert --stripes 1 $vg/$lv1
+lvconvert -y --stripes 1 $vg/$lv1
 check lv_first_seg_field $vg/$lv1 segtype "raid5_n"
 check lv_first_seg_field $vg/$lv1 data_stripes 1
 check lv_first_seg_field $vg/$lv1 stripes 2