summaryrefslogtreecommitdiff
path: root/test/cmd
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2025-11-23 23:57:00 +0100
committerTom Rini <[email protected]>2025-12-05 08:54:44 -0600
commit85713aee969c63a3418f95dad4b47cb6f88b11f4 (patch)
tree969509e2a70b1547e72ba1c32593a92c8dce77d4 /test/cmd
parent1acf7ebf501d492c35606e473b2194f793498585 (diff)
test: do not assume memory size 256 MiB in cmd_test_meminfo
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]> Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'test/cmd')
-rw-r--r--test/cmd/meminfo.c2
1 files changed, 1 insertions, 1 deletions
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");