1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-11 20:58:50 +03:00

Add vgrename test to check for existence of new vg.

This commit is contained in:
Dave Wysochanski 2009-06-05 10:42:22 +00:00
parent 6f4a82b3f4
commit 89b7d5cb4c

View File

@ -27,3 +27,11 @@ check_vg_field_ $vg1 vg_uuid $UUID
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