X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Ftracefile-limits%2Ftest_tracefile_count;fp=tests%2Fregression%2Ftools%2Ftracefile-limits%2Ftest_tracefile_count;h=5ca10ac231bc6e407a94983f4a56e7162d473200;hb=c125de8f5c0dc9ba3ada63e9317e468ffb9e335a;hp=244910dd680dfa1003678ed7a2ca71818e9eb0ba;hpb=53f8be7a05e14be1d0bebc8575d0e5ce394111b2;p=lttng-tools.git diff --git a/tests/regression/tools/tracefile-limits/test_tracefile_count b/tests/regression/tools/tracefile-limits/test_tracefile_count index 244910dd6..5ca10ac23 100755 --- a/tests/regression/tools/tracefile-limits/test_tracefile_count +++ b/tests/regression/tools/tracefile-limits/test_tracefile_count @@ -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[@]}";