X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Fcli%2Ftest_trace_copy;h=5147e8eccff7a5dae5aee3b50d5f030ebf92dac5;hp=5f902e17848d088a5f392d3ef9e16d170e11c3df;hb=4ef30ab5558466c9c65a5ed0438bab7b9f46d74c;hpb=36aa69d73533105693fe0537dc81bcf31256ac91 diff --git a/tests/cli/test_trace_copy b/tests/cli/test_trace_copy index 5f902e17..5147e8ec 100755 --- a/tests/cli/test_trace_copy +++ b/tests/cli/test_trace_copy @@ -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