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.7.2~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5793af52d97e2874dc0ff6719d0433dad1458e6e;p=lttng-tools.git 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"