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

Simon Glass <[email protected]> Wed, 5 Aug 2026 15:48:17 -0600
Newsgroups gmane.comp.boot-loaders.u-boot
Message-ID <CAFLszTjsE5guqZQ2AjdejsN-mH=xZEb1Bghw7o4xzyVhD+RJyw__36140.0859475665$1785966536$gmane$org@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]>