summaryrefslogtreecommitdiff
path: root/test/cmd/temperature.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/temperature.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/temperature.c')
-rw-r--r--test/cmd/temperature.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/cmd/temperature.c b/test/cmd/temperature.c
index 193fa6324ea..309693aa1e8 100644
--- a/test/cmd/temperature.c
+++ b/test/cmd/temperature.c
@@ -18,8 +18,6 @@ static int dm_test_cmd_temperature(struct unit_test_state *uts)
ut_assertok(uclass_get_device(UCLASS_THERMAL, 0, &dev));
ut_assertnonnull(dev);
- ut_assertok(console_record_reset_enable());
-
/* Test that "temperature list" shows the sandbox device */
ut_assertok(run_command("temperature list", 0));
ut_assert_nextline("| Device | Driver | Parent");