From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19396 invoked by alias); 10 Nov 2008 13:44:02 -0000 Received: (qmail 19359 invoked by uid 9699); 10 Nov 2008 13:44:02 -0000 Date: Mon, 10 Nov 2008 13:44:00 -0000 Message-ID: <20081110134402.19357.qmail@sourceware.org> From: mornfall@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/test t-pool-labels.sh Mailing-List: contact lvm2-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: lvm2-cvs-owner@sourceware.org X-SW-Source: 2008-11/txt/msg00032.txt.bz2 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"