tests: add and use bt_grep
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 6 Nov 2023 18:36:59 +0000 (18:36 +0000)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 9 Nov 2023 16:14:34 +0000 (11:14 -0500)
commit407d3b1055a8457c8927fb4ae79841774c1872d1
tree1622b651a9ee6ae8f6fc9841b46c6f15f1ef87c7
parenta0bc1fafad7ddeb30f9cbe2aee8455fdf7a6fdf4
tests: add and use bt_grep

Add the `bt_grep` function, which passes all its arguments to the grep
binary specified by BT_TESTS_GREP_BIN.  Use everywhere where applicable
in the testsuite.

Change-Id: Ia166106fd85312e681fa2692e1f5409c9556f897
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11248
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Michael Jeanson <mjeanson@efficios.com>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
CI-Build: Michael Jeanson <mjeanson@efficios.com>
13 files changed:
tests/cli/convert/test-auto-source-discovery-grouping.sh
tests/cli/convert/test-convert-args.sh
tests/cli/list-plugins/test-list-plugins.sh
tests/cli/query/test-query.sh
tests/cli/test-help.sh
tests/cli/test-intersection.sh
tests/cli/test-packet-seq-num.sh
tests/cli/test-trace-copy.sh
tests/plugins/src.ctf.fs/fail/test-fail.sh
tests/plugins/src.ctf.fs/query/test-query-metadata-info.sh
tests/plugins/src.ctf.fs/succeed/test-succeed.sh
tests/plugins/src.ctf.fs/test-deterministic-ordering.sh
tests/utils/utils.sh
This page took 0.025866 seconds and 4 git commands to generate.