tests: add and use bt_grep
[babeltrace.git] / tests / cli / test-trace-copy.sh
index e8c9b2c86210a391089953e89733a240ed341d34..a3fb4544bad0f56e2ca21e99db297dc66ba7e336 100755 (executable)
@@ -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)"
This page took 0.023765 seconds and 4 git commands to generate.