From: Heinrich Schuchardt Date: Sun, 26 Nov 2017 13:05:21 +0000 (+0100) Subject: test/py: check return code of helloworld X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=45055aac9dad8d08f8691d7d5b116c23ad07a50d;p=u-boot.git test/py: check return code of helloworld Check that helloworld.efi returns EFI_SUCCESS. Reviewed-by: Simon Glass Signed-off-by: Heinrich Schuchardt Signed-off-by: Alexander Graf --- diff --git a/test/py/tests/test_efi_loader.py b/test/py/tests/test_efi_loader.py index 4d391e13ef..906ef2feaa 100644 --- a/test/py/tests/test_efi_loader.py +++ b/test/py/tests/test_efi_loader.py @@ -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):