From 5ab097abad7d6d2b6da2d0423b95803950831cc6 Mon Sep 17 00:00:00 2001 From: Stephen Warren Date: Fri, 15 Jan 2016 11:15:26 -0700 Subject: test/py: add test of setenv/printenv/echo This tests basic environment variable functionality. Signed-off-by: Stephen Warren Signed-off-by: Stephen Warren Acked-by: Simon Glass --- test/command_ut.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'test/command_ut.c') diff --git a/test/command_ut.c b/test/command_ut.c index 926573a395..c086abe3ed 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); -- cgit v1.2.1