]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: cmd/hash: check return value of ut_check_console_line
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 16 Nov 2024 20:08:22 +0000 (21:08 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 19 Nov 2024 01:10:56 +0000 (19:10 -0600)
commit3d0da87cd4020f9e14a249c0e080341d668d9426
tree4f7f9f65de37738fa118659742f03c8c6f18e949
parentdeb9a07cf167f68184fe782047bfd77c238276cd
test: cmd/hash: check return value of ut_check_console_line

ut_check_console_line() does include an assert.
Pass the result to ut_assertok().

Addresses-Coverity-ID:  514958 Error handling issues
Fixes: 7dfafcd65ef3 ("test: unit test for hash command")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
test/cmd/hash.c