[U-Boot] [PATCH 1/1] test/py: error message test_efi_selftest_device_tree

Heinrich Schuchardt xypron.glpk at gmx.de
Fri Jul 5 22:57:10 UTC 2019


Correct the error message in test_efi_selftest_device_tree().

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 test/py/tests/test_efi_selftest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/py/tests/test_efi_selftest.py b/test/py/tests/test_efi_selftest.py
index 07e4db0452..516e41cf51 100644
--- a/test/py/tests/test_efi_selftest.py
+++ b/test/py/tests/test_efi_selftest.py
@@ -37,7 +37,7 @@ def test_efi_selftest_device_tree(u_boot_console):
 	u_boot_console.run_command(cmd='bootefi selftest ${fdtcontroladdr}', wait_for_prompt=False)
 	m = u_boot_console.p.expect(['serial-number: Testing DT', 'U-Boot'])
 	if m != 0:
-		raise Exception('Reset failed in \'device tree\' test')
+		raise Exception('serial-number missing in device tree')
 	u_boot_console.restart_uboot();

 @pytest.mark.buildconfigspec('cmd_bootefi_selftest')
--
2.20.1



More information about the U-Boot mailing list