]> code.ossystems Code Review - openembedded-core.git/commit
wic: Return error code when wic fails to invoke command
authorEd Bartosh <ed.bartosh@linux.intel.com>
Tue, 16 Jun 2015 11:19:49 +0000 (14:19 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 Jun 2015 10:38:16 +0000 (11:38 +0100)
commitebd9f7b1da8ed556e98aab4d5f4e81707ac44b27
tree4ce03ddbd3836188bd6ed066c89d63be5c38924a
parent0997208266686473d23aed0fab58a1fd7c5d8cae
wic: Return error code when wic fails to invoke command

Return 1 if command doesn't exist or wic is called without
any commmand.
Return result of invoke_command as wic return code.

Added tests for unsupported command and no command.

Fixed typo in test case test02_createhelp spotted by this fix.

[YOCTO #7856]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
meta/lib/oeqa/selftest/wic.py
scripts/lib/image/help.py
scripts/wic