summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2016-03-14 23:16:45 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2016-03-14 23:45:45 +0100
commit0d5b9deff21991f0b26240ae4395ee12e76096c5 (patch)
treebd7713dbaebd84b3c11a6fe5b2b8fd535b0076d7
parent7daba90fa3c2cec085170b1c18f63d7877e483da (diff)
downloadlvm2-0d5b9deff21991f0b26240ae4395ee12e76096c5.tar.gz
tests: use own PID path for lvmetad checking
Do not try to check PID of running lvmetad and use own path.
-rw-r--r--test/lib/inittest.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/inittest.sh b/test/lib/inittest.sh
index a2dcf0141..a453ee624 100644
--- a/test/lib/inittest.sh
+++ b/test/lib/inittest.sh
@@ -114,6 +114,7 @@ if test -n "$LVM_TEST_LVMETAD" ; then
aux prepare_lvmetad
else
# lvmetad prepares its own lvmconf
+ export LVM_LVMETAD_PIDFILE="$TESTDIR/non-existing-file"
aux lvmconf
aux prepare_clvmd
fi