From: Jérémie Galarneau Date: Thu, 10 Mar 2016 19:23:28 +0000 (-0500) Subject: Test: Add the lttng-runas worker process to the sessiond pids X-Git-Tag: v2.8.0-rc1~88 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=19356f3ab163d5ee161900db49247996f49dfc35;ds=sidebyside Test: Add the lttng-runas worker process to the sessiond pids Signed-off-by: Jérémie Galarneau --- diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index 2cadd5800..fe834cfaf 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -16,6 +16,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA SESSIOND_BIN="lttng-sessiond" +RUNAS_BIN="lttng-runas" CONSUMERD_BIN="lttng-consumerd" RELAYD_BIN="lttng-relayd" LTTNG_BIN="lttng" @@ -411,7 +412,7 @@ function stop_lttng_sessiond_opt() return fi - PID_SESSIOND=`pgrep --full lt-$SESSIOND_BIN` + PID_SESSIOND="$(pgrep --full lt-$SESSIOND_BIN) $(pgrep --full $RUNAS_BIN)" if [ -n "$2" ]; then kill_opt="$kill_opt -s $signal" @@ -463,7 +464,7 @@ function sigstop_lttng_sessiond_opt() return fi - PID_SESSIOND=`pgrep --full lt-$SESSIOND_BIN` + PID_SESSIOND="$(pgrep --full lt-$SESSIOND_BIN) $(pgrep --full $RUNAS_BIN)" kill_opt="$kill_opt -s $signal"