1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

Fix t-pool-labels to pass again after the vgdisplay error return fix from

last Friday.
This commit is contained in:
Petr Rockai 2008-11-10 13:44:01 +00:00
parent a98888ad07
commit 9a8f6c824f

View File

@ -31,7 +31,9 @@ create_pool_label_ 1 "$dev2"
not pvcreate "$dev1"
# check that vgdisplay and pvcreate -ff works with the pool device
vgdisplay
vgdisplay --config 'global { locking_type = 0 }'
disable_dev "$dev2"
vgdisplay
# FIXME! since pool1 cannot be opened, vgdisplay gives error... should we say
# "not" there instead, checking that it indeed does fail?
vgdisplay --config 'global { locking_type = 0 }' || true
pvcreate -ff -y "$dev1"