From: Francis Deslauriers Date: Wed, 9 Dec 2020 03:05:22 +0000 (-0500) Subject: Tests: Fail test if sessiond is not running when it should X-Git-Tag: v2.13.0-rc1~383 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d3d783bbd8783c0375cd076c03032d9bbefda94a;p=lttng-tools.git Tests: Fail test if sessiond is not running when it should Signed-off-by: Francis Deslauriers Signed-off-by: Jérémie Galarneau Change-Id: I9b39bfe6bfb9f404fe2a32c27de0276386a36212 --- diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index 31087877d..a1e142487 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -646,7 +646,9 @@ function stop_lttng_sessiond_opt() if [ -z "$pids" ]; then if [ "$withtap" -eq "1" ]; then - pass "No session daemon to kill" + fail "No session daemon to kill" + else + BAIL_OUT "No session daemon to kill" fi return 0 fi