Tests: use babeltrace2 for all tests
[lttng-tools.git] / tests / regression / tools / tracefile-limits / test_tracefile_count
index 244910dd680dfa1003678ed7a2ca71818e9eb0ba..5ca10ac231bc6e407a94983f4a56e7162d473200 100755 (executable)
@@ -134,7 +134,7 @@ function test_tracefile_count_limit ()
        [ "$(get_stream_file_count "$trace_path" "$stream_pattern")" -eq "$count_limit" ]
        ok $? "Stream meets the trace file limit of $count_limit"
 
-       stats=`babeltrace $trace_path | $STATS_BIN --tracepoint $event_name`
+       stats=`"$BABELTRACE_BIN" $trace_path | $STATS_BIN --tracepoint $event_name`
 
        validate_min_max "$stats" "intfield" "[0-9]+" "$expected_max"
        ok $? "Trace validation - intfield"
@@ -154,6 +154,8 @@ plan_tests $NUM_TESTS
 
 print_test_banner "$TEST_DESC"
 
+bail_out_if_no_babeltrace
+
 start_lttng_sessiond
 
 for limit in "${LIMITS[@]}";
This page took 0.023571 seconds and 4 git commands to generate.