barectf_config_check_fail(): check that failure is caused by cfg. error
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 15 May 2020 19:31:59 +0000 (15:31 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 22 May 2020 16:30:18 +0000 (12:30 -0400)
commit25b9c2fe64a4a7c3d4471ae84be48fb3c6eb2efe
treed68fcf88c801d5606269ff50433ebb121e3a31bc
parent027410e06eb44ca4f079adea9f8c76b25c5544bd
barectf_config_check_fail(): check that failure is caused by cfg. error

This patch makes barectf_config_check_fail() in `config/common.bash`
check that the output of `barectf` contains the string

    configuration: cannot create configuration

so as to ensure that the failure is _at least_ caused by a configuration
error, even if we don't know if the real failure cause matches what the
test intends to verify.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
tests/config/common.bash
This page took 0.023595 seconds and 4 git commands to generate.