[lvm-devel] master - test: add missing yes option to lvconvert stripe removal

Heinz Mauelshagen heinzm at sourceware.org
Tue May 16 15:53:28 UTC 2017


Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=48408ece6ddd730c394e3081f9a2d78d1771f129
Commit:        48408ece6ddd730c394e3081f9a2d78d1771f129
Parent:        f4f408610c6801a50395f95b8116e2037a58761e
Author:        Heinz Mauelshagen <heinzm at redhat.com>
AuthorDate:    Tue May 16 17:51:58 2017 +0200
Committer:     Heinz Mauelshagen <heinzm at redhat.com>
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(-)

diff --git a/test/shell/lvconvert-raid-reshape-striped_to_linear.sh b/test/shell/lvconvert-raid-reshape-striped_to_linear.sh
index 4051862..d926827 100644
--- a/test/shell/lvconvert-raid-reshape-striped_to_linear.sh
+++ b/test/shell/lvconvert-raid-reshape-striped_to_linear.sh
@@ -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




More information about the lvm-devel mailing list