]> git.sur5r.net Git - u-boot/blobdiff - test/command_ut.c
test/py: add test of setenv/printenv/echo
[u-boot] / test / command_ut.c
index 926573a39543c816281a879922ce9ca4c83dd3b1..c086abe3ed3ea042be65d437313438184922eb9f 100644 (file)
@@ -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);