This is the mail archive of the
lvm2-cvs@sourceware.org
mailing list for the LVM2 project.
LVM2/test t-pool-labels.sh
- From: mornfall at sourceware dot org
- To: lvm-devel at redhat dot com, lvm2-cvs at sourceware dot org
- Date: 10 Nov 2008 13:44:02 -0000
- Subject: LVM2/test t-pool-labels.sh
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall@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
--- LVM2/test/t-pool-labels.sh 2008/09/29 16:02:49 1.2
+++ LVM2/test/t-pool-labels.sh 2008/11/10 13:44:01 1.3
@@ -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"