diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-02-04 00:24:23 +0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-19 18:47:34 +0400 |
commit | 67486728841df8fda072ce54702b26674ab13424 (patch) | |
tree | b5de74c692e2e04f7958d8aba8d42cf112b17e44 | |
parent | b7b5f3195fa5a31ab1505e0c87054dc6dc71627b (diff) | |
download | u-boot-67486728841df8fda072ce54702b26674ab13424.tar.xz |
unit-test: fix 'env default' invocation
"env default -f" doesn't work any more; replace it with
"env default -f -a". This avoids the following when running the ut
command:
do_ut_cmd: Testing commands
env - environment handling commands
Usage:
env default [-f] -a - [forcibly] reset default environment
...
Signed-off-by: Stephen Warren <swarren@nvidia.com>
-rw-r--r-- | test/command_ut.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/command_ut.c b/test/command_ut.c index 0e83db0cca..98f7625dda 100644 --- a/test/command_ut.c +++ b/test/command_ut.c @@ -15,7 +15,7 @@ static const char test_cmd[] = "setenv list 1\n setenv list ${list}2; " 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", 0); + run_command("env default -f -a", 0); /* run a single command */ run_command("setenv single 1", 0); |