public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2/test t-vgrename-usage.sh
@ 2009-06-05 10:42 wysochanski
  0 siblings, 0 replies; only message in thread
From: wysochanski @ 2009-06-05 10:42 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	wysochanski@sourceware.org	2009-06-05 10:42:22

Modified files:
	test           : t-vgrename-usage.sh 

Log message:
	Add vgrename test to check for existence of new vg.

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

--- LVM2/test/t-vgrename-usage.sh	2008/09/29 16:02:50	1.3
+++ LVM2/test/t-vgrename-usage.sh	2009/06/05 10:42:22	1.4
@@ -27,3 +27,11 @@
 vgrename $UUID $vg2
 check_vg_field_ $vg2 vg_name $vg2
 vgremove $vg2
+
+# vgrename fails - new vg already exists
+vgcreate $vg1 $dev1
+vgcreate $vg2 $dev2
+not vgrename $vg1 $vg2
+vgremove $vg1
+vgremove $vg2
+


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-05 10:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-05 10:42 LVM2/test t-vgrename-usage.sh wysochanski

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).