1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

tests: use compiled lvm for clvmd executed lvs

This commit is contained in:
Zdenek Kabelac 2014-01-08 13:52:05 +01:00
parent 5f246bf768
commit 2b7f7d0ab4

View File

@ -31,6 +31,8 @@ prepare_clvmd() {
# skip if we don't have our own clvmd... # skip if we don't have our own clvmd...
(which clvmd 2>/dev/null | grep "$abs_builddir") || skip (which clvmd 2>/dev/null | grep "$abs_builddir") || skip
# lvs is executed from clvmd - use our version
export LVM_BINARY=$(which lvm)
# skip if we singlenode is not compiled in # skip if we singlenode is not compiled in
(clvmd --help 2>&1 | grep "Available cluster managers" | grep "singlenode") || skip (clvmd --help 2>&1 | grep "Available cluster managers" | grep "singlenode") || skip