test: Check exit status in run_and_log_expect_exception()
authorSimon Glass <sjg@chromium.org>
Sun, 31 Jul 2016 23:35:03 +0000 (17:35 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 6 Aug 2016 00:55:19 +0000 (20:55 -0400)
commit7f64b1874c22b52259a8380de13d824e6b0ce2c8
tree2847448aa07a743d3615f3742cec5c4557b50b66
parentbcbd0c8fe1bdd95f07d773d076b5101a01e48287
test: Check exit status in run_and_log_expect_exception()

This check was missed. Add it and make the message more verbose.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Tom Rini <trini@konsulko.com>
Fixes: 9e17b034 (test/py: Provide a way to check that a command fails)
test/py/multiplexed_log.py
test/py/u_boot_utils.py