summaryrefslogtreecommitdiffstats
path: root/test/command_ut.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/command_ut.c')
-rw-r--r--test/command_ut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/command_ut.c b/test/command_ut.c
index 54bf62b9bc..21283eb357 100644
--- a/test/command_ut.c
+++ b/test/command_ut.c
@@ -43,7 +43,7 @@ static int do_ut_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
assert(run_command_list("false", -1, 0) == 1);
assert(run_command_list("echo", -1, 0) == 0);
-#ifdef CONFIG_SYS_HUSH_PARSER
+#ifdef CONFIG_HUSH_PARSER
run_command("setenv foo 'setenv black 1\nsetenv adder 2'", 0);
run_command("run foo", 0);
assert(getenv("black") != NULL);
OpenPOWER on IntegriCloud