efi_loader: Update startimage_exit self-test to check error
authorSimon Glass <sjg@chromium.org>
Sun, 1 Dec 2024 15:24:25 +0000 (08:24 -0700)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 5 Jan 2025 01:30:48 +0000 (02:30 +0100)
commit66e24668886908210338cafb338cf94bf881a493
treebd07d8123465e0f5780c1221ccc14b5194699125
parent463e4e6476299b32452a8a9e57374241cca26292
efi_loader: Update startimage_exit self-test to check error

Check for an error returned from the decompress() function, just in
case.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_selftest/efi_selftest_startimage_exit.c