tests: add bt_cli util function
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 8 Aug 2019 15:09:11 +0000 (11:09 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 12 Aug 2019 02:19:51 +0000 (22:19 -0400)
commit22703f66b1011d07a5afb1ae5b766784158f27bd
tree490e12ed3180b1888c050b74c67352b0edee201f
parent2ddc65227cb92cfca4777eaad6dc9abd609cec26
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.024473 seconds and 4 git commands to generate.