[PATCH 08/19] test: do not assume memory size 256 MiB in cmd_test_meminfo

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Sun Nov 23 23:57:00 CET 2025


256 GiB is the default memory size of the sandbox. But in our CI other
boards like qemu-x86_64_defconfig run with a different memory size.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
 test/cmd/meminfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/cmd/meminfo.c b/test/cmd/meminfo.c
index 53b41e3b49e..40c3520496e 100644
--- a/test/cmd/meminfo.c
+++ b/test/cmd/meminfo.c
@@ -14,7 +14,7 @@
 static int cmd_test_meminfo(struct unit_test_state *uts)
 {
 	ut_assertok(run_command("meminfo", 0));
-	ut_assert_nextline("DRAM:  256 MiB");
+	ut_assert_nextlinen("DRAM:  ");
 	ut_assert_nextline_empty();
 
 	ut_assert_nextline("Region           Base     Size      End      Gap");
-- 
2.51.0



More information about the U-Boot mailing list