strstr(uts->actual_str, "md5 for "));
ut_assert(strstr(uts->actual_str,
"d41d8cd98f00b204e9800998ecf8427e"));
- ut_check_console_line(uts, "d41d8cd98f00b204e9800998ecf8427e");
+ ut_assertok(ut_check_console_line(uts,
+ "d41d8cd98f00b204e9800998ecf8427e"));
if (!CONFIG_IS_ENABLED(HASH_VERIFY)) {
ut_assert(run_command("hash -v sha256 $loadaddr 0 foo", 0));
- ut_check_console_line(uts, "hash - compute hash message digest");
+ ut_assertok(ut_check_console_line(
+ uts, "hash - compute hash message digest"));
return 0;
}
strstr(uts->actual_str, "sha256 for "));
ut_assert(strstr(uts->actual_str,
"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"));
- ut_check_console_line(uts,
- "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855");
+ ut_assertok(ut_check_console_line(
+ uts, "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"));
if (!CONFIG_IS_ENABLED(HASH_VERIFY)) {
ut_assert(run_command("hash -v sha256 $loadaddr 0 foo", 0));
- ut_check_console_line(uts, "hash - compute hash message digest");
+ ut_assertok(ut_check_console_line(
+ uts, "hash - compute hash message digest"));
return 0;
}