Skip to contentSkip to conversation

LVM2/test t-pool-labels.sh

PATCH [email protected] 1 participant 1 message Nov 10, 2008

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at sourceware.org 2008-11-10 13:44:01

Modified files:
test : t-pool-labels.sh

Log message:
Fix t-pool-labels to pass again after the vgdisplay error return fix from last Friday.

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

test/t-pool-labels.sh +4 -2
@@ -31,7 +31,9 @@
 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"