mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: use compiled lvm for clvmd executed lvs
This commit is contained in:
parent
5f246bf768
commit
2b7f7d0ab4
@ -31,6 +31,8 @@ prepare_clvmd() {
|
||||
|
||||
# skip if we don't have our own clvmd...
|
||||
(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
|
||||
(clvmd --help 2>&1 | grep "Available cluster managers" | grep "singlenode") || skip
|
||||
|
Loading…
Reference in New Issue
Block a user