summaryrefslogtreecommitdiff
path: root/test/py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-10-11 18:47:18 +0300
committerSimon Glass <sjg@chromium.org>2022-10-18 06:17:13 +0300
commit8aaacd61368929cd2af2296f00ee15fa4bf0ae55 (patch)
treeaa689ac90258bc89b13c321114dffe6555830ea4 /test/py
parenta753190a0c544d211faf13a296bd80e830150158 (diff)
downloadu-boot-8aaacd61368929cd2af2296f00ee15fa4bf0ae55.tar.xz
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 bc54149e8f..e63c25df53 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