diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-06-16 14:19:49 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-23 11:47:34 +0100 |
commit | 40764a309d7f20421ca199e2283070bb561bf8c3 (patch) | |
tree | a5e120c7736c7de279ff2f4dae5c5bb52e4c0d65 /scripts/lib/wic/plugin.py | |
parent | 5daadf85eddf6c5898fe2b9a9ef7b1e9ed434d84 (diff) | |
download | poky-40764a309d7f20421ca199e2283070bb561bf8c3.tar.gz |
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]
(From OE-Core rev: ebd9f7b1da8ed556e98aab4d5f4e81707ac44b27)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/plugin.py')
0 files changed, 0 insertions, 0 deletions