1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00

tests: apostrof

This commit is contained in:
Zdenek Kabelac 2016-11-28 17:36:43 +01:00
parent 022d3af068
commit 3f6ade4b0d

View File

@ -322,9 +322,9 @@ prepare_lvmdbusd() {
# Setup the python path so we can run
export PYTHONPATH=$abs_top_builddir/daemons
else
daemon="$(which lvmdbusd || :)"
daemon=$(which lvmdbusd || :)
fi
[[ -n $daemon && -x $daemon ]] || skip "The daemon is missing"
[[ -n "$daemon" && -x "$daemon" ]] || skip "The daemon is missing"
which python3 >/dev/null || skip "Missing python3"
python3 -c "import pyudev, dbus, gi.repository" || skip "Missing python modules"