From 19356f3ab163d5ee161900db49247996f49dfc35 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 10 Mar 2016 14:23:28 -0500 Subject: [PATCH] Test: Add the lttng-runas worker process to the sessiond pids MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- tests/utils/utils.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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" -- 2.34.1