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)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 4 Sep 2019 15:58:21 +0000 (11:58 -0400)
commit5b4aa96072d23d5f894ae9446daaf209e4c16622
tree045e7d832d3a97db470d12a5ce3fa3ed7526c530
parent5fd7382f59539f83024d5400d578b3fac5067c15
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.024278 seconds and 4 git commands to generate.