diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2015-02-06 15:37:31 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-02-15 14:34:06 -0700 |
commit | 88539e4431cd6a596da316f81b644c4df606dbd9 (patch) | |
tree | 25c39cd598ff62bb20e17eb3a9c08de3f734f61d /arch/sandbox/include/asm/sdl.h | |
parent | d908898333b22fb2345a7a165ff837fa6b947b0b (diff) |
sandbox: Return '-c command' exit value as sandbox exit code
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 if the command succeeded (tests passed). Also remove
the now completely unused "exit_state" in sandbox.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/include/asm/sdl.h')
0 files changed, 0 insertions, 0 deletions