From e6768997e192e26aaf091b6ed2700a3391f178b5 Mon Sep 17 00:00:00 2001 From: Marian Csontos Date: Fri, 1 Apr 2016 09:28:31 +0200 Subject: [PATCH] test: Fix testing of installed lvmdbusd If lvmdbusd is missing expression triggers ERR trap instead of skipping the test. --- test/lib/aux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/aux.sh b/test/lib/aux.sh index c8985ede0..3a44ae6fd 100644 --- a/test/lib/aux.sh +++ b/test/lib/aux.sh @@ -321,7 +321,7 @@ 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" -- 2.43.5