summaryrefslogtreecommitdiff
path: root/test/py/u_boot_console_base.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-07-03 09:40:41 -0600
committerTom Rini <trini@konsulko.com>2016-07-14 18:22:35 -0400
commit9e17b0345afe198490689d9f36fab3849e9ef69a (patch)
tree3a2f99565fb278053389a72c8fb179069efeb8ce /test/py/u_boot_console_base.py
parent8b304a37df13477f02fca5a6f5eaa3e55d7b4bf1 (diff)
downloadu-boot-imx-9e17b0345afe198490689d9f36fab3849e9ef69a.zip
u-boot-imx-9e17b0345afe198490689d9f36fab3849e9ef69a.tar.gz
u-boot-imx-9e17b0345afe198490689d9f36fab3849e9ef69a.tar.bz2
test/py: Provide a way to check that a command fails
Sometimes we want to run a command and check that it fails. Add a function to handle this. It can check the return code and also make sure that the output contains a given error message. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py/u_boot_console_base.py')
0 files changed, 0 insertions, 0 deletions