tests: make bt_diff check a single file pair
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 8 Aug 2019 15:50:46 +0000 (11:50 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 12 Aug 2019 02:19:51 +0000 (22:19 -0400)
commita70b6702a213fc4b250e936515b163827b66348e
tree5ad54293b4da61a7d62d4a3a24cebee0b107bb80
parent22703f66b1011d07a5afb1ae5b766784158f27bd
tests: make bt_diff check a single file pair

bt_diff currently accepts 4 file arguments:

  - stdout expected
  - stdout actual
  - stderr expected
  - stderr actual

To allow for more flexibility, change it to check a single pair.  Tests
that need to check for both stdout and stderr will need to call it
twice.

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