summaryrefslogtreecommitdiff
path: root/test/cmd/setexpr.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-08-22 07:57:58 -0600
committerTom Rini <trini@konsulko.com>2024-08-26 18:51:49 -0600
commit0af38d12d98070bc09001e200b15c7e0d6a80388 (patch)
tree0fc583e69b99668aa716d3de5f56ba2b362e0711 /test/cmd/setexpr.c
parent0e77c2b6117c1a8497676b33de85766c3f3a904c (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/setexpr.c')
-rw-r--r--test/cmd/setexpr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/cmd/setexpr.c b/test/cmd/setexpr.c
index dcd0e3726e4..21a3268bd81 100644
--- a/test/cmd/setexpr.c
+++ b/test/cmd/setexpr.c
@@ -340,7 +340,6 @@ static int setexpr_test_str_oper(struct unit_test_state *uts)
strcpy(buf, "hello");
strcpy(buf + 0x10, " there");
- ut_assertok(console_record_reset_enable());
start_mem = ut_check_free();
ut_asserteq(1, run_command("setexpr.s fred *0 * *10", 0));
ut_assertok(ut_check_delta(start_mem));