From: Heiko Schocher Date: Tue, 18 Nov 2025 04:30:42 +0000 (+0100) Subject: test: cmd: fix a typo in md5 test X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b30557b3b46c5162cb88a57907c517ed95557239;p=thirdparty%2Fu-boot.git test: cmd: fix a typo in md5 test In dm_test_cmd_hash_md5 accidentially sha256 hash ist used. Use the correct md5 hash instead. Signed-off-by: Heiko Schocher Reviewed-by: Heinrich Schuchardt Reviewed-by: Ilias Apalodimas --- diff --git a/test/cmd/hash.c b/test/cmd/hash.c index ced18319f34..99895982f67 100644 --- a/test/cmd/hash.c +++ b/test/cmd/hash.c @@ -39,7 +39,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"));