From: wysochanski@sourceware.org <wysochanski@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2/test t-vgsplit-operation.sh t-vgsplit-usa ...
Date: 21 Mar 2008 22:00:37 -0000 [thread overview]
Message-ID: <20080321220037.18305.qmail@sourceware.org> (raw)
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: wysochanski at sourceware.org 2008-03-21 22:00:33
Modified files:
test : t-vgsplit-operation.sh t-vgsplit-usage.sh
Log message:
Fixup vgsplit tests in preparation for vgsplit changes.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-vgsplit-operation.sh.diff?cvsroot=lvm2&r1=1.13&r2=1.14
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-vgsplit-usage.sh.diff?cvsroot=lvm2&r1=1.1&r2=1.2
--- LVM2/test/t-vgsplit-operation.sh 2008/03/21 21:14:38 1.13
+++ LVM2/test/t-vgsplit-operation.sh 2008/03/21 22:00:29 1.14
@@ -64,7 +64,7 @@
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 @@
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 @@
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 @@
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
--- LVM2/test/t-vgsplit-usage.sh 2008/03/04 19:48:32 1.1
+++ LVM2/test/t-vgsplit-usage.sh 2008/03/21 22:00:29 1.2
@@ -172,7 +172,6 @@
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'
next reply other threads:[~2008-03-21 22:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-21 22:00 wysochanski [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-03-04 19:48 LVM2/test t-vgsplit-operation.sh t-vgsplit-usa wysochanski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080321220037.18305.qmail@sourceware.org \
--to=wysochanski@sourceware.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.