Re: [U-Boot] [PATCH] sandbox: Return '-c command' exit value as sandbox exit code

2015-02-15 Thread Simon Glass
On 10 February 2015 at 12:50, Simon Glass s...@chromium.org wrote: On 6 February 2015 at 14:37, Joe Hershberger joe.hershber...@ni.com wrote: When a command is passed into sandbox using the '-c' argument the command is run directly. This is most helpful when running tests (such as

Re: [U-Boot] [PATCH] sandbox: Return '-c command' exit value as sandbox exit code

2015-02-10 Thread Simon Glass
On 6 February 2015 at 14:37, Joe Hershberger joe.hershber...@ni.com wrote: When a command is passed into sandbox using the '-c' argument the command is run directly. This is most helpful when running tests (such as test-dm.sh). Previously the exit code was an unused enum. Change it to be the

[U-Boot] [PATCH] sandbox: Return '-c command' exit value as sandbox exit code

2015-02-06 Thread Joe Hershberger
When a command is passed into sandbox using the '-c' argument the command is run directly. This is most helpful when running tests (such as test-dm.sh). Previously the exit code was an unused enum. Change it to be the actual return code from the command so that the script calling sandbox can know