commit | be86ac6a77da792b937db7397892de82336b3914 | [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 | 614348e8d3438631ab14f6196b8abed1db66ddac [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>