summaryrefslogtreecommitdiff
path: root/test/command_ut.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@wwwdotorg.org>2016-01-15 18:15:26 (GMT)
committerSimon Glass <sjg@chromium.org>2016-01-21 02:06:23 (GMT)
commit5ab097abad7d6d2b6da2d0423b95803950831cc6 (patch)
tree47dce935aaba80b8c4d8016392dc868dc7aa819a /test/command_ut.c
parent472040d5cbd1bbf9f5f325508b37feb7f129c125 (diff)
downloadu-boot-fsl-qoriq-5ab097abad7d6d2b6da2d0423b95803950831cc6.tar.xz
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.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/command_ut.c b/test/command_ut.c
index 926573a..c086abe 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);