]> code.ossystems Code Review - openembedded-core.git/commit
selftest/wic: clean up runCmd error code handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jul 2018 11:12:00 +0000 (11:12 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 25 Jul 2018 15:48:13 +0000 (16:48 +0100)
commit394f7d4efe80e390e2c9b0be5e6d10954395a82b
tree9a89a5a4f368a91b35ff6e552aa1f231ef775f40
parent1aa7471b11aedc68de5116c461fe73152e3985fd
selftest/wic: clean up runCmd error code handling

runCmd handles checking exit 0 internally unless specified otherwise and its
error messages are much more useful including the failed command output.

Clean up the unneeded 0 exit code checks in the wic tests.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/wic.py