lib: create common base for bt_component_class_{source,filter}
[babeltrace.git] / tests / cli / test_trace_copy
index 15b1344b310179ed7b77979805f39b034ce0080f..5147e8eccff7a5dae5aee3b50d5f030ebf92dac5 100755 (executable)
@@ -30,7 +30,7 @@ clean_tmp() {
        rm -rf "${out_path}" "${text_output1}" "${text_output2_intermediary}" "${text_output2}"
 }
 
-SUCCESS_TRACES=(${BT_CTF_TRACES_PATH}/succeed/*)
+SUCCESS_TRACES=("${BT_CTF_TRACES_PATH}/succeed/"*)
 
 # -2 because there is an empty trace that we skip
 NUM_TESTS=$((${#SUCCESS_TRACES[@]} * 3 - 2))
@@ -60,6 +60,7 @@ for path in "${SUCCESS_TRACES[@]}"; do
        # always the same.
        head -1 "${text_output1}" | "${BT_TESTS_GREP_BIN}" "^\[" >/dev/null
        if test $? = 0; then
+               # shellcheck disable=SC2016
                uniq_ts_cnt="$("${BT_TESTS_AWK_BIN}" '{ print $1 }' < "${text_output1}" | sort | uniq | wc -l)"
                # Extract only the timestamp columns and compare the number of
                # unique lines with the total number of lines to see if there
This page took 0.026854 seconds and 4 git commands to generate.