Tests: use babeltrace2 for all tests
[lttng-tools.git] / tests / regression / ust / low-throughput / test_low_throughput
index 66ed8950fd73648a294ad68842d8b9e839b662ec..e03d9f01eff5f4ef8c171b8d9f6659e795244c4a 100755 (executable)
@@ -27,6 +27,8 @@ plan_tests $NUM_TESTS
 
 print_test_banner "$TEST_DESC"
 
+bail_out_if_no_babeltrace
+
 start_lttng_sessiond
 
 create_lttng_session_ok $SESSION_NAME $TRACE_PATH
@@ -47,7 +49,7 @@ stop_lttng_sessiond
 last_val=0
 out=0
 
-babeltrace $TRACE_PATH | while read event;
+"$BABELTRACE_BIN" $TRACE_PATH | while read event;
 do
        val=$(echo $event | cut -f10 -d" ")
        val=${val%?}
This page took 0.023717 seconds and 4 git commands to generate.