X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=tests%2Fcli%2Ftest-trace-copy.sh;h=a3fb4544bad0f56e2ca21e99db297dc66ba7e336;hb=407d3b1055a8457c8927fb4ae79841774c1872d1;hp=e8c9b2c86210a391089953e89733a240ed341d34;hpb=a0bc1fafad7ddeb30f9cbe2aee8455fdf7a6fdf4;p=babeltrace.git diff --git a/tests/cli/test-trace-copy.sh b/tests/cli/test-trace-copy.sh index e8c9b2c8..a3fb4544 100755 --- a/tests/cli/test-trace-copy.sh +++ b/tests/cli/test-trace-copy.sh @@ -48,7 +48,7 @@ for path in "${SUCCESS_TRACES[@]}"; do # duplicate timestamps in the output. # If there are, we have to sort the text output to make sure it is # always the same. - head -1 "${text_output1}" | "${BT_TESTS_GREP_BIN}" "^\[" >/dev/null + head -1 "${text_output1}" | bt_grep "^\[" >/dev/null if test $? = 0; then # shellcheck disable=SC2016 uniq_ts_cnt="$("${BT_TESTS_AWK_BIN}" '{ print $1 }' < "${text_output1}" | sort | uniq | wc -l)"