[U-Boot] [PATCH V3 3/7] test/py: add test of setenv/printenv/echo

Simon Glass
2016-01-11T15:23:16Z

On 5 January 2016 at 15:58, Stephen Warren <swarren@wwwdotorg.org> wrote:
> This tests basic environment variable functionality.
>
> Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
> v3:
> - Handle environment values that contain an = sign.
> Reported by Michal Simek.
> - Move test scripts into a sub-directory.
> Suggested by Michal Simek.
> - s/uboot/u[-_]boot/g. Suggested by Simon Glass.
> - s/"/'/g. Suggested by Simon Glass.
> - Add more documentation. Suggested by Simon Glass.
> - Simplify command string construction. Suggested by Simon Glass.
> - Move relevant edits to command_ut.c into this patch from a later one.
> Suggested by Simon Glass.
> ---
> test/command_ut.c | 4 --
> test/py/tests/test_env.py | 169 ++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 169 insertions(+), 4 deletions(-)
> create mode 100644 test/py/tests/test_env.py

Acked-by: Simon Glass <sjg@chromium.org>