diff options
author | Simon Glass <sjg@chromium.org> | 2016-07-03 09:40:41 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-07-14 18:22:35 -0400 |
commit | 9e17b0345afe198490689d9f36fab3849e9ef69a (patch) | |
tree | 3a2f99565fb278053389a72c8fb179069efeb8ce /test/py/tests/test_dfu.py | |
parent | 8b304a37df13477f02fca5a6f5eaa3e55d7b4bf1 (diff) |
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/tests/test_dfu.py')
0 files changed, 0 insertions, 0 deletions