From a4cdc80836ded85a42a69bc6a6c0587ba7f60d1b Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 13 Jan 2011 11:05:27 +0000 Subject: [PATCH] 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. --- test/t-lock-blocking.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/t-lock-blocking.sh b/test/t-lock-blocking.sh index 65a907622..e3ec63c2e 100644 --- a/test/t-lock-blocking.sh +++ b/test/t-lock-blocking.sh @@ -14,7 +14,7 @@ test_description='test some blocking / non-blocking multi-vg operations' . 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 -- 2.43.5