Tests: use enable_ust_lttng_channel_ok instead of a custom lttng invocation
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 22 Mar 2018 20:14:53 +0000 (16:14 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 3 Apr 2018 20:13:10 +0000 (16:13 -0400)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/tools/rotation/test_ust

index 5bd41382f657514a42769b3db0d5fdfc09d1843b..fcad28e698562572ff521a6d4ed70baad70eb05c 100755 (executable)
@@ -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
This page took 0.026273 seconds and 4 git commands to generate.