[U-Boot] [PATCH v2 0/4] Fix a few problems with the command parsers

Simon Glass sjg at chromium.org
Fri May 30 22:41:47 CEST 2014


In a few cases the behaviour of both the hush and built-in parsers seems
incorrect. One such case was exposed by commit 1992dbf which attempted to
execute a simple command using hush and get the correct return value.
Further digging exposed the other problems.

Changes in v2:
- Rebase to master

Simon Glass (4):
  Add final result tests for run_command_list()
  Fix itest mask overflow
  Fix hush to give the correct return code for a simple command
  Correct return code from builtin_run_command_list()

 common/cli_hush.c   | 4 +++-
 common/cli_simple.c | 2 +-
 common/cmd_itest.c  | 2 +-
 test/command_ut.c   | 5 +++++
 4 files changed, 10 insertions(+), 3 deletions(-)

-- 
1.9.1.423.g4596e3a



More information about the U-Boot mailing list