Commit 67486728841df8fda072ce54702b26674ab13424

Authored by Stephen Warren
Committed by Tom Rini
1 parent b7b5f3195f

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -15,7 +15,7 @@
15 15 static int do_ut_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
16 16 {
17 17 printf("%s: Testing commands\n", __func__);
18   - run_command("env default -f", 0);
  18 + run_command("env default -f -a", 0);
19 19  
20 20 /* run a single command */
21 21 run_command("setenv single 1", 0);