summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2025-11-23 23:57:07 +0100
committerTom Rini <[email protected]>2025-12-05 08:54:44 -0600
commit6b0997c98c0e7c46e25ff3fc8a7d1142ce71bcbb (patch)
tree5059a6a8dfb16d69c09f17dc1f4a91e356a30a26 /test
parent44217491465d95124bd5b11e4b3a781348b47fe8 (diff)
test: fix cmt/msr test
The original value of the first variable msr (0x200) is not controlled by U-Boot. Don't make any assumption. Signed-off-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'test')
-rw-r--r--test/cmd/msr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cmd/msr.c b/test/cmd/msr.c
index e9a152ee5bf..7512c83338a 100644
--- a/test/cmd/msr.c
+++ b/test/cmd/msr.c
@@ -12,14 +12,14 @@
static int cmd_test_msr(struct unit_test_state *uts)
{
ut_assertok(run_commandf("msr read 200"));
- ut_assert_nextline("00000000 ffe00006");
+ ut_assert_nextlinen("0000");
ut_assert_console_end();
/* change the first variable msr and see it reflected in the mtrr cmd */
ut_assertok(run_commandf("mtrr"));
ut_assert_nextline("CPU 65537:");
ut_assert_nextlinen("Reg");
- ut_assert_nextlinen("0 Y Back 00000000ffe00000");
+ ut_assert_nextlinen("0 Y Back");
ut_assertok(console_record_reset_enable());
/* change the type from 6 to 5 */