test/py: error message test_efi_selftest_device_tree
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 5 Jul 2019 15:43:13 +0000 (17:43 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 6 Jul 2019 19:25:32 +0000 (21:25 +0200)
Correct the error message in test_efi_selftest_device_tree().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
test/py/tests/test_efi_selftest.py

index 07e4db0452840cd736ac7ae5d2bb469e277d44ed..516e41cf51fd08461e73e8e8654512d79b6667ae 100644 (file)
@@ -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')