diff --git a/test/t-vgsplit-operation.sh b/test/t-vgsplit-operation.sh index f80fe1a22..b8ef45b6c 100755 --- a/test/t-vgsplit-operation.sh +++ b/test/t-vgsplit-operation.sh @@ -64,7 +64,7 @@ test_expect_success \ fi && lvcreate -l 4 -n $lv1 $vg1 $d1 && vgchange -an $vg1 && - vgsplit --force $vg1 $vg2 $d1 && + vgsplit $vg1 $vg2 $d1 && vg_validate_pvlv_counts_ $vg1 1 0 0 && if [ $i == existing ]; then vg_validate_pvlv_counts_ $vg2 3 1 0 @@ -83,7 +83,7 @@ test_expect_success \ fi && lvcreate -l 4 -i 2 -n $lv1 $vg1 $d1 $d2 && vgchange -an $vg1 && - vgsplit --force $vg1 $vg2 $d1 $d2 && + vgsplit $vg1 $vg2 $d1 $d2 && if [ $i == existing ]; then vg_validate_pvlv_counts_ $vg2 4 1 0 else @@ -101,7 +101,7 @@ test_expect_success \ lvcreate -l 64 -i 2 -n $lv1 $vg1 $d1 $d2 && lvcreate -l 4 -i 2 -s -n $lv2 $vg1/$lv1 && vgchange -an $vg1 && - vgsplit --force $vg1 $vg2 $d1 $d2 && + vgsplit $vg1 $vg2 $d1 $d2 && if [ $i == existing ]; then vg_validate_pvlv_counts_ $vg2 4 1 1 else @@ -119,7 +119,7 @@ test_expect_success \ fi && lvcreate -l 64 -m1 -n $lv1 $vg1 $d1 $d2 $d3 && vgchange -an $vg1 && - vgsplit --force $vg1 $vg2 $d1 $d2 $d3 && + vgsplit $vg1 $vg2 $d1 $d2 $d3 && if [ $i == existing ]; then vg_validate_pvlv_counts_ $vg2 4 4 0 else diff --git a/test/t-vgsplit-usage.sh b/test/t-vgsplit-usage.sh index 12b14b784..ef2df06ce 100755 --- a/test/t-vgsplit-usage.sh +++ b/test/t-vgsplit-usage.sh @@ -172,7 +172,6 @@ test_expect_success \ vgchange -an $vg1 && vgsplit $vg1 $vg2 $d3 2>err; status=$?; echo status=$?; test $status = 5 && - grep "^ Physical volume $d3 not in volume group $vg1" err && vgremove -f $vg2 && vgremove -f $vg1'