]> sourceware.org Git - lvm2.git/commitdiff
Fix t-pool-labels to pass again after the vgdisplay error return fix from
authorPetr Rockai <prokai@redhat.com>
Mon, 10 Nov 2008 13:44:01 +0000 (13:44 +0000)
committerPetr Rockai <prokai@redhat.com>
Mon, 10 Nov 2008 13:44:01 +0000 (13:44 +0000)
last Friday.

test/t-pool-labels.sh

index 070912b010c751c80767aeca817ac93dca5baf74..57f4f9aeb8b2b766ec09171885d4b80a33df394d 100755 (executable)
@@ -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"
This page took 0.038583 seconds and 5 git commands to generate.