commit | 9e17b0345afe198490689d9f36fab3849e9ef69a | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Jul 03 09:40:41 2016 -0600 |
committer | Tom Rini <trini@konsulko.com> | Thu Jul 14 18:22:35 2016 -0400 |
tree | 3a2f99565fb278053389a72c8fb179069efeb8ce | |
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>