tests: add bt_cli util function
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 8 Aug 2019 15:09:11 +0000 (11:09 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 4 Sep 2019 15:58:21 +0000 (11:58 -0400)
commit5fd7382f59539f83024d5400d578b3fac5067c15
tree9669a21211eed8e32b7259a1c668022f7caa1b52
parent2923add711604dafbbdca1a80b69df1b3b353a06
tests: add bt_cli util function

Add a function that simply runs the CLI, redirecting stdout and
stderr to the specified files.  This will allow more flexible tests than
the existing "diff" function.

Change-Id: I8319c4a74a0baa3b40afb871bfb0605ac81c3270
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1837
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
tests/utils/utils.sh
This page took 0.024796 seconds and 4 git commands to generate.