diff options
author | Stephen Warren <swarren@wwwdotorg.org> | 2016-01-15 11:15:26 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-20 19:06:23 -0700 |
commit | 5ab097abad7d6d2b6da2d0423b95803950831cc6 (patch) | |
tree | 47dce935aaba80b8c4d8016392dc868dc7aa819a /test/command_ut.c | |
parent | 472040d5cbd1bbf9f5f325508b37feb7f129c125 (diff) |
test/py: add test of setenv/printenv/echo
This tests basic environment variable functionality.
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/command_ut.c')
-rw-r--r-- | test/command_ut.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/command_ut.c b/test/command_ut.c index 926573a3954..c086abe3ed3 100644 --- a/test/command_ut.c +++ b/test/command_ut.c @@ -20,10 +20,6 @@ static int do_ut_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) printf("%s: Testing commands\n", __func__); run_command("env default -f -a", 0); - /* run a single command */ - run_command("setenv single 1", 0); - assert(!strcmp("1", getenv("single"))); - /* make sure that compound statements work */ #ifdef CONFIG_SYS_HUSH_PARSER run_command("if test -n ${single} ; then setenv check 1; fi", 0); |