X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Ftrigger%2Fstart-stop%2Ftest_start_stop;h=823fb27a8e8eeb6b83b4bd241fd08b2806f63426;hb=c125de8f5c0dc9ba3ada63e9317e468ffb9e335a;hp=102e7ac1d32957cf9de431ebbdab274ba9b2daf6;hpb=695f70446965aeac8b1118bb08d572630c96114d;p=lttng-tools.git diff --git a/tests/regression/tools/trigger/start-stop/test_start_stop b/tests/regression/tools/trigger/start-stop/test_start_stop index 102e7ac1d..823fb27a8 100755 --- a/tests/regression/tools/trigger/start-stop/test_start_stop +++ b/tests/regression/tools/trigger/start-stop/test_start_stop @@ -25,7 +25,7 @@ NR_USEC_WAIT=5 function lttng_session_is_active() { local SESSION_NAME="$1" - "$FULL_LTTNG_BIN" list "$SESSION_NAME" | grep "Tracing session" | grep -q "\[active\]" + "$FULL_LTTNG_BIN" list "$SESSION_NAME" | grep "Recording session" | grep -q "\[active\]" ok $ret "Session \"$SESSION_NAME\" is active" } @@ -33,7 +33,7 @@ function lttng_session_is_active() function lttng_session_is_inactive() { local SESSION_NAME="$1" - "$FULL_LTTNG_BIN" list "$SESSION_NAME" | grep "Tracing session" | grep -q "\[inactive\]" + "$FULL_LTTNG_BIN" list "$SESSION_NAME" | grep "Recording session" | grep -q "\[inactive\]" ok $ret "Session \"$SESSION_NAME\" is inactive" } @@ -148,6 +148,7 @@ function test_stop_session_action() plan_tests $NUM_TESTS print_test_banner "$TEST_DESC" +bail_out_if_no_babeltrace start_lttng_sessiond_notap