Re: [PATCH 2/4] test: spl: Factor out external-data FIT property checks

Simon Glass <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <CAFLszTjsE5guqZQ2AjdejsN-mH=xZEb1Bghw7o4xzyVhD+RJyw@mail.gmail.com>
On 2026-07-30T15:03:40, Anton Ivanov <[email protected]> wrote:
> test: spl: Factor out external-data FIT property checks
>
> Turn spl_test_fit_external_oversize() into a parameterized helper
> which builds a FIT with external data, overwrites one property of the
> image node with a hostile value and checks that spl_load_simple_fit()
> fails with the expected error.
>
> This is in preparation for adding tests for the remaining
> external-data properties.
>
> No functional change.
>
> Signed-off-by: Anton Ivanov <[email protected]>
>
> test/image/spl_load.c | 48 +++++++++++++++++++++++++++++-------------------
>  1 file changed, 29 insertions(+), 19 deletions(-)

Reviewed-by: Simon Glass <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.