test: do not rely on => being the prompt
PATCH 1/1 test: do not rely on => being the prompt
In our tests we should use the customized prompt for testing.
Reported-by Tom Rini <[email protected]>
Signed-off-by Heinrich Schuchardt <[email protected]>
--- test/py/tests/test_efi_loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
test/py/tests/test_efi_loader.py +1 -1
@@ -199,6 +199,6 @@ def test_efi_grub_net(u_boot_console): # Then exit cleanly u_boot_console.wait_for('grub>') u_boot_console.run_command('exit', wait_for_prompt=False, wait_for_echo=False) - u_boot_console.wait_for('=>') + u_boot_console.wait_for(u_boot_console.prompt) # And give us our U-Boot prompt back u_boot_console.run_command('')
--
2.27.0
PATCH 1/1 test: do not rely on => being the prompt
Quoted 4 lines · Heinrich Schuchardt
In our tests we should use the customized prompt for testing.
Reported-by Tom Rini <[email protected]>Signed-off-by Heinrich Schuchardt <[email protected]>
Tested-by Tom Rini <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200727/162aaa04/attachment.sig>
PATCH 1/1 test: do not rely on => being the prompt
In reply to Heinrich SchuchardtQuoted 5 lines · Heinrich Schuchardt
In our tests we should use the customized prompt for testing.
Reported-by Tom Rini <[email protected]>Signed-off-by Heinrich Schuchardt <[email protected]>Tested-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200731/979c11f0/attachment.sig>