aboutsummaryrefslogtreecommitdiff
path: root/test/py
diff options
context:
space:
mode:
authorSimon Glass2022-10-11 09:47:18 -0600
committerSimon Glass2022-10-17 21:17:13 -0600
commit8aaacd61368929cd2af2296f00ee15fa4bf0ae55 (patch)
treeaa689ac90258bc89b13c321114dffe6555830ea4 /test/py
parenta753190a0c544d211faf13a296bd80e830150158 (diff)
vbe: Add fixups for a basic set of OS requests
As a starting point, add support for providing random data, if requested by the OS. Also add ASLR, as a placeholder for now. Signed-off-by: Simon Glass <sjg@chromium.org> (fixed up to use uclass_first_device_err() instead)
Diffstat (limited to 'test/py')
-rw-r--r--test/py/tests/test_event_dump.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/py/tests/test_event_dump.py b/test/py/tests/test_event_dump.py
index bc54149e8f2..e63c25df537 100644
--- a/test/py/tests/test_event_dump.py
+++ b/test/py/tests/test_event_dump.py
@@ -16,6 +16,7 @@ def test_event_dump(u_boot_console):
out = util.run_and_log(cons, ['scripts/event_dump.py', sandbox])
expect = '''.*Event type Id Source location
-------------------- ------------------------------ ------------------------------
+EVT_FT_FIXUP bootmeth_vbe_ft_fixup .*boot/vbe_fixup.c:.*
EVT_FT_FIXUP bootmeth_vbe_simple_ft_fixup .*boot/vbe_simple.c:.*
EVT_MISC_INIT_F sandbox_misc_init_f .*arch/sandbox/cpu/start.c:'''
assert re.match(expect, out, re.MULTILINE) is not None