From c384ad4074293bd658004b495bae763ee044f342 Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Thu, 9 Dec 2010 11:19:21 +0000 Subject: [PATCH] Try to detect fail in clvmd startup in tests. --- test/test-utils.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test-utils.sh b/test/test-utils.sh index 12d8cf2d5..c4ae3e357 100644 --- a/test/test-utils.sh +++ b/test/test-utils.sh @@ -77,6 +77,10 @@ prepare_clvmd() { clvmd -Isinglenode -d 1 & LOCAL_CLVMD="$!" + + # check that it is really running now + sleep .1 + ps $LOCAL_CLVMD || exit 200 } prepare_dmeventd() { @@ -396,6 +400,7 @@ prepare_lvmconf() { locking_dir = "$TESTDIR/var/lock/lvm" $locktype si_unit_consistency = 1 + fallback_to_local_locking = 0 } activation { udev_sync = 1 -- 2.43.5