mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 21:24:21 +08:00
test/py: check return code of helloworld
Check that helloworld.efi returns EFI_SUCCESS. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
bbf75dd934
commit
45055aac9d
@ -154,6 +154,8 @@ def test_efi_helloworld_net(u_boot_console):
|
||||
output = u_boot_console.run_command('bootefi %x' % addr)
|
||||
expected_text = 'Hello, world'
|
||||
assert expected_text in output
|
||||
expected_text = '## Application terminated, r = 0'
|
||||
assert expected_text in output
|
||||
|
||||
@pytest.mark.buildconfigspec('cmd_bootefi_hello')
|
||||
def test_efi_helloworld_builtin(u_boot_console):
|
||||
|
Loading…
Reference in New Issue
Block a user