From: Heinrich Schuchardt Date: Sun, 23 Nov 2025 22:57:04 +0000 (+0100) Subject: test: fix bdinfo_test_all boot_params expectation X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7dbcc4d806cce156dd9c00f535fb9cb0020b6e87;p=thirdparty%2Fu-boot.git test: fix bdinfo_test_all boot_params expectation The value of boot_params is device specific and non-zero on many boards. Signed-off-by: Heinrich Schuchardt --- diff --git a/test/cmd/bdinfo.c b/test/cmd/bdinfo.c index 2f3a65996e7..ba8a3392237 100644 --- a/test/cmd/bdinfo.c +++ b/test/cmd/bdinfo.c @@ -156,7 +156,9 @@ static int bdinfo_check_mem(struct unit_test_state *uts) static int bdinfo_test_all(struct unit_test_state *uts) { - ut_assertok(test_num_l(uts, "boot_params", 0)); + struct bd_info *bd = gd->bd; + + ut_assertok(test_num_l(uts, "boot_params", bd->bi_boot_params)); ut_assertok(bdinfo_check_mem(uts));