summaryrefslogtreecommitdiffstats
path: root/test/cmd_ut.c
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-05-20 14:27:34 -0500
committerTom Rini <trini@konsulko.com>2015-05-21 09:16:18 -0400
commitfe3f6a65fef8d2f7f388f3a584e02dad54ff72a7 (patch)
tree55352c7ccf48aaecc7a5f5e9ed197f3112cec79e /test/cmd_ut.c
parent09129bec8e1f2cd89d48b3ae98dcd83707d5e606 (diff)
downloadtalos-obmc-uboot-fe3f6a65fef8d2f7f388f3a584e02dad54ff72a7.tar.gz
talos-obmc-uboot-fe3f6a65fef8d2f7f388f3a584e02dad54ff72a7.zip
test: Return values from the asserts compatible with cmds
The asserts are sometimes called from the context of the test command itself so make sure that a return that happens as a result of a failure is compatible with that command return. When called within a test, the return value is ignored. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/cmd_ut.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud