public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
From: wysochanski@sourceware.org
To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org
Subject: LVM2/test t-vgsplit-operation.sh
Date: Thu, 10 Apr 2008 18:55:00 -0000 [thread overview]
Message-ID: <20080410185541.19230.qmail@sourceware.org> (raw)
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: wysochanski@sourceware.org 2008-04-10 18:55:41
Modified files:
test : t-vgsplit-operation.sh
Log message:
Update vgsplit tests that count LVs for adjusted LV counting.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-vgsplit-operation.sh.diff?cvsroot=lvm2&r1=1.18&r2=1.19
--- LVM2/test/t-vgsplit-operation.sh 2008/04/10 01:06:48 1.18
+++ LVM2/test/t-vgsplit-operation.sh 2008/04/10 18:55:40 1.19
@@ -121,9 +121,9 @@
vgsplit -n $lv1 $vg1 $vg2
fi &&
if [ $i == existing ]; then
- vg_validate_pvlv_counts_ $vg2 4 4 0
+ vg_validate_pvlv_counts_ $vg2 4 1 0
else
- vg_validate_pvlv_counts_ $vg2 3 4 0
+ vg_validate_pvlv_counts_ $vg2 3 1 0
fi &&
lvremove -f $vg2/$lv1 &&
vgremove -f $vg2'
@@ -143,9 +143,9 @@
vgsplit -n $lv1 $vg1 $vg2
fi &&
if [ $i == existing ]; then
- vg_validate_pvlv_counts_ $vg2 4 1 1
+ vg_validate_pvlv_counts_ $vg2 4 2 1
else
- vg_validate_pvlv_counts_ $vg2 2 1 1
+ vg_validate_pvlv_counts_ $vg2 2 2 1
fi &&
lvremove -f $vg2/$lv2 &&
lvremove -f $vg2/$lv1 &&
@@ -169,10 +169,10 @@
fi &&
if [ $i == existing ]; then
vg_validate_pvlv_counts_ $vg2 2 1 0
- vg_validate_pvlv_counts_ $vg1 2 1 1
+ vg_validate_pvlv_counts_ $vg1 2 2 1
else
vg_validate_pvlv_counts_ $vg2 1 1 0
- vg_validate_pvlv_counts_ $vg1 2 1 1
+ vg_validate_pvlv_counts_ $vg1 2 2 1
fi &&
lvremove -f $vg1/$lv2 &&
lvremove -f $vg1/$lv1 &&
@@ -196,10 +196,10 @@
vgsplit -n $lv2 $vg1 $vg2
fi &&
if [ $i == existing ]; then
- vg_validate_pvlv_counts_ $vg1 3 4 0
+ vg_validate_pvlv_counts_ $vg1 3 2 0
vg_validate_pvlv_counts_ $vg2 2 1 0
else
- vg_validate_pvlv_counts_ $vg1 3 4 0
+ vg_validate_pvlv_counts_ $vg1 3 2 0
vg_validate_pvlv_counts_ $vg2 1 1 0
fi &&
lvremove -f $vg1/$lv1 &&
@@ -231,7 +231,7 @@
lvcreate -l 16 -n $lv1 $vg1 $d1 $d2 &&
lvcreate -l 4 -n $lv2 -s $vg1/$lv1 &&
lvcreate -l 4 -n $lv3 -s $vg1/$lv1 &&
- vg_validate_pvlv_counts_ $vg1 4 1 2 &&
+ vg_validate_pvlv_counts_ $vg1 4 3 2 &&
vgchange -an $vg1 &&
vgsplit -n $lv1 $vg1 $vg2;
status=$?; echo status=$status; test $status = 5 &&
@@ -246,7 +246,7 @@
lvcreate -l 16 -n $lv1 $vg1 $d1 $d2 &&
lvcreate -l 4 -n $lv2 -s $vg1/$lv1 &&
lvcreate -l 4 -n $lv3 -s $vg1/$lv1 &&
- vg_validate_pvlv_counts_ $vg1 4 1 2 &&
+ vg_validate_pvlv_counts_ $vg1 4 3 2 &&
vgchange -an $vg1 &&
vgsplit -n $lv2 $vg1 $vg2;
status=$?; echo status=$status; test $status = 5 &&
@@ -270,7 +270,7 @@
'vgcreate $vg1 $d1 $d2 $d3 $d4 &&
lvcreate -l 16 -n $lv1 -m1 $vg1 $d1 $d2 $d3 &&
lvcreate -l 16 -n $lv2 -i 2 $vg1 $d3 $d4 &&
- vg_validate_pvlv_counts_ $vg1 4 5 0 &&
+ vg_validate_pvlv_counts_ $vg1 4 2 0 &&
vgchange -an $vg1 &&
vgsplit -n $lv2 $vg1 $vg2 2>err;
status=$?; echo status=$status; test $status = 5 &&
next reply other threads:[~2008-04-10 18:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-10 18:55 wysochanski [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-03-29 16:40 mornfall
2008-09-30 18:29 mornfall
2008-09-30 17:56 mornfall
2008-04-09 21:10 wysochanski
2008-03-21 21:14 wysochanski
2008-03-04 22:49 wysochanski
2008-02-29 0:09 wysochanski
2008-02-28 17:39 wysochanski
2008-02-28 16:48 wysochanski
2008-01-22 3:30 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=20080410185541.19230.qmail@sourceware.org \
--to=wysochanski@sourceware.org \
--cc=lvm-devel@redhat.com \
--cc=lvm2-cvs@sourceware.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).