[PATCH v1 5/5] test: cmd: fix a typo in md5 test
Heinrich Schuchardt
xypron.glpk at gmx.de
Sat Nov 1 08:45:48 CET 2025
Am 1. November 2025 07:49:07 MEZ schrieb Heiko Schocher <hs at nabladev.com>:
>In dm_test_cmd_hash_md5 accidentially sha256 hash
>ist used. Use the correct md5 hash instead.
>
>Signed-off-by: Heiko Schocher <hs at nabladev.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
>---
>
> test/cmd/hash.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/test/cmd/hash.c b/test/cmd/hash.c
>index 3f7f64d27d3..3a3869831ce 100644
>--- a/test/cmd/hash.c
>+++ b/test/cmd/hash.c
>@@ -38,7 +38,7 @@ static int dm_test_cmd_hash_md5(struct unit_test_state *uts)
> "d41d8cd98f00b204e9800998ecf8427e"));
>
> if (!CONFIG_IS_ENABLED(HASH_VERIFY)) {
>- ut_assert(run_command("hash -v sha256 $loadaddr 0 foo", 0));
>+ ut_assert(run_command("hash -v md5 $loadaddr 0 foo", 0));
> ut_assertok(ut_check_console_line(
> uts, "hash - compute hash message digest"));
>
More information about the U-Boot
mailing list