SUCCESS_TRACES=("${BT_CTF_TRACES_PATH}/succeed/"*)
-# -2 because there is an empty trace that we skip
-NUM_TESTS=$((${#SUCCESS_TRACES[@]} * 3 - 2))
+# -4 because there are two empty traces that we skip
+NUM_TESTS=$((${#SUCCESS_TRACES[@]} * 3 - 4))
plan_tests $NUM_TESTS
# 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