test: Tidy up checking for console end
Use the ut_assert_console_end() function provided, rather than doing it separately. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -221,7 +221,7 @@ static int net_test_wget(struct unit_test_state *uts)
|
||||
|
||||
run_command("md5sum ${loadaddr} ${filesize}", 0);
|
||||
ut_assert_nextline("md5 for 00020000 ... 0002001f ==> 234af48e94b0085060249ecb5942ab57");
|
||||
ut_assertok(ut_check_console_end(uts));
|
||||
ut_assert_console_end();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user