tests/utils/utils.sh: bt_grep_ok(): only define if `SH_TAP` is `1`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 10 Nov 2023 04:28:28 +0000 (23:28 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 7 Feb 2024 21:25:56 +0000 (16:25 -0500)
commit53be3c125109c38ed1acb7d94798d2314237e4c7
tree95112e99effd8926cbc0b369f51629419c774471
parent568f4bd1cdb5bbc78f05df98d0b0a36b7da31b93
tests/utils/utils.sh: bt_grep_ok(): only define if `SH_TAP` is `1`

This function uses ok() which comes from `tap.sh` which `utils.sh`
only sources if `SH_TAP` is `1`.

Therefore it makes no sense to run or even define this function if the
intention of whatever sources `utils.sh` isn't to output TAP directly.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Ia59ceadc9b74b2a2c5201def51d340d9050d944e
tests/utils/utils.sh
This page took 0.025223 seconds and 4 git commands to generate.