Skip to contentSkip to conversation

LVM2/test t-lock-blocking.sh

PATCH [email protected] 1 participant 1 message Jan 13, 2011

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2011-01-13 11:05:27

Modified files:
test : t-lock-blocking.sh

Log message:
Check for file with clvmd pid

Instead of checking $LOCAL_CLVMD set during some 'aux' execution which doesn't seem to be propagated to this shell - check for existance of pid file of clvmd process - so this test is skipped in singlenode cluster test.

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

test/t-lock-blocking.sh +1 -1
@@ -14,7 +14,7 @@
 . lib/test
 
 aux prepare_devs 3
-test -n "$LOCAL_CLVMD" && exit 200
+test -e LOCAL_CLVMD && exit 200
 pvcreate $dev1 $dev2
 vgcreate $vg $dev1 $dev2