]> sourceware.org Git - lvm2.git/commitdiff
tests: use own PID path for lvmetad checking
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 14 Mar 2016 22:16:45 +0000 (23:16 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 14 Mar 2016 22:45:45 +0000 (23:45 +0100)
Do not try to check PID of running lvmetad and use own path.

test/lib/inittest.sh

index a2dcf0141baabdbdff99509d3ee38595b5250008..a453ee6245318f50f15a982e987786deed868348 100644 (file)
@@ -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
This page took 0.034812 seconds and 5 git commands to generate.