diff options
author | Simon Glass <sjg@chromium.org> | 2024-08-22 07:57:58 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-08-26 18:51:49 -0600 |
commit | 0af38d12d98070bc09001e200b15c7e0d6a80388 (patch) | |
tree | 0fc583e69b99668aa716d3de5f56ba2b362e0711 /test/cmd/loadm.c | |
parent | 0e77c2b6117c1a8497676b33de85766c3f3a904c (diff) |
test: cmd: Drop unnecessary console_record_reset_enable()
It is seldom necessary to call this function. Drop its use in the
command tests.
Add a few extra checks to the wget test so that resetting is not
needed.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/cmd/loadm.c')
-rw-r--r-- | test/cmd/loadm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/cmd/loadm.c b/test/cmd/loadm.c index 29ae8339183..dedb4f7683e 100644 --- a/test/cmd/loadm.c +++ b/test/cmd/loadm.c @@ -23,7 +23,6 @@ static int loadm_test_params(struct unit_test_state *uts) { - ut_assertok(console_record_reset_enable()); run_command("loadm", 0); ut_assert_nextline("loadm - load binary blob from source address to destination address"); @@ -51,7 +50,6 @@ static int loadm_test_load (struct unit_test_state *uts) memset(buf, '\0', BUF_SIZE); memset(buf, 0xaa, BUF_SIZE / 2); - ut_assertok(console_record_reset_enable()); run_command("loadm 0x0 0x80 0x80", 0); ut_assert_nextline("loaded bin to memory: size: 128"); |