test: hush: Fix loop tests for modern hush
authorFrancis Laniel <francis.laniel@amarulasolutions.com>
Fri, 22 Dec 2023 21:02:41 +0000 (22:02 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 28 Dec 2023 17:02:56 +0000 (12:02 -0500)
commit2223c49c75d7df9189894bdf22801dc6768f4ead
tree15a802cf7f986c9baa595cf53d11c976522187a6
parente252f50f27841d2aad844dbebbe2d238a6e13f0d
test: hush: Fix loop tests for modern hush

Modifies return code got from while loop as modern hush always returns 0 from
while loop.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Francis Laniel <francis.laniel@amarulasolutions.com>
test/hush/loop.c