From: Jonathan Rajotte Date: Thu, 22 Mar 2018 20:14:53 +0000 (-0400) Subject: Tests: use enable_ust_lttng_channel_ok instead of a custom lttng invocation X-Git-Tag: v2.11.0-rc1~298 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=da0e44845286ccce34b980e060f454952f070214;hp=9dc506ae3b7d654f25b8bdf905bc4ddfbe6c33dc Tests: use enable_ust_lttng_channel_ok instead of a custom lttng invocation Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- diff --git a/tests/regression/tools/rotation/test_ust b/tests/regression/tools/rotation/test_ust index 5bd41382f..fcad28e69 100755 --- a/tests/regression/tools/rotation/test_ust +++ b/tests/regression/tools/rotation/test_ust @@ -43,8 +43,7 @@ function enable_channel_per_pid() sess_name=$1 channel_name=$2 - $TESTDIR/../src/bin/lttng/$LTTNG_BIN enable-channel --buffers-pid -u $channel_name -s $sess_name >/dev/null 2>&1 - ok $? "Enable channel $channel_name per PID for session $sess_name" + enable_ust_lttng_channel_ok $sess_name $channel_name --buffers-pid } function lttng_create_session_uri