All of lore.kernel.org
 help / color / mirror / Atom feed
From: wysochanski@sourceware.org <wysochanski@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2/test t-metadata-balance.sh
Date: 30 Jun 2010 22:22:00 -0000	[thread overview]
Message-ID: <20100630222200.4695.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	wysochanski at sourceware.org	2010-06-30 22:22:00

Modified files:
	test           : t-metadata-balance.sh 

Log message:
	Update metadata-balance test for --vgmetadatacopies 0.
	
	Should be equivalent to "unmanaged".

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-metadata-balance.sh.diff?cvsroot=lvm2&r1=1.2&r2=1.3

--- LVM2/test/t-metadata-balance.sh	2010/06/28 20:40:27	1.2
+++ LVM2/test/t-metadata-balance.sh	2010/06/30 22:22:00	1.3
@@ -126,10 +126,13 @@
 	check_vg_field_ $vg vg_mda_count $(($mdacp * 4))
 	check_vg_field_ $vg vg_mda_copies unmanaged
 	check_vg_field_ $vg vg_mda_used_count $(($mdacp * 4))
-	echo --vgmetadatacopies 0 should be rejected for vgchange and vgcreate
-	not vgchange --vgmetadatacopies 0 $vg
+	echo --vgmetadatacopies 0 should be unmanaged for vgchange and vgcreate
+	vgchange --vgmetadatacopies 0 $vg
+	check_vg_field_ $vg vg_mda_copies unmanaged
+	vgremove -f $vg
+	vgcreate -c n --vgmetadatacopies 0 "$vg" $dev1 $dev2 $dev4 $dev5
+	check_vg_field_ $vg vg_mda_copies unmanaged
 	vgremove -f $vg
-	not vgcreate -c n --vgmetadatacopies 0 "$vg" $dev1 $dev2 $dev4 $dev5
 done
 
 echo Test vgextend / vgreduce with vgmetadatacopies



             reply	other threads:[~2010-06-30 22:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-30 22:22 wysochanski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-06-28 20:40 LVM2/test t-metadata-balance.sh wysochanski
2010-06-28 20:36 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=20100630222200.4695.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.