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 <[email protected]>
---
 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

Reply via email to