Tests: use babeltrace2 for all tests
[lttng-tools.git] / tests / regression / tools / trigger / start-stop / test_start_stop
index 102e7ac1d32957cf9de431ebbdab274ba9b2daf6..823fb27a8e8eeb6b83b4bd241fd08b2806f63426 100755 (executable)
@@ -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
 
This page took 0.024013 seconds and 4 git commands to generate.