* [PATCH 1/1] test: do not rely on => being the prompt @ 2020-07-24 18:55 Heinrich Schuchardt 2020-07-27 13:32 ` Tom Rini 2020-07-31 21:42 ` Tom Rini 0 siblings, 2 replies; 3+ messages in thread From: Heinrich Schuchardt @ 2020-07-24 18:55 UTC (permalink / raw) To: u-boot In our tests we should use the customized prompt for testing. Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> --- test/py/tests/test_efi_loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/py/tests/test_efi_loader.py b/test/py/tests/test_efi_loader.py index ca68626cec..fc8d6b8655 100644 --- a/test/py/tests/test_efi_loader.py +++ b/test/py/tests/test_efi_loader.py @@ -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 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 1/1] test: do not rely on => being the prompt 2020-07-24 18:55 [PATCH 1/1] test: do not rely on => being the prompt Heinrich Schuchardt @ 2020-07-27 13:32 ` Tom Rini 2020-07-31 21:42 ` Tom Rini 1 sibling, 0 replies; 3+ messages in thread From: Tom Rini @ 2020-07-27 13:32 UTC (permalink / raw) To: u-boot On Fri, Jul 24, 2020 at 08:55:37PM +0200, Heinrich Schuchardt wrote: > In our tests we should use the customized prompt for testing. > > Reported-by: Tom Rini <trini@konsulko.com> > Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Tested-by: Tom Rini <trini@konsulko.com> -- 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> ^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] test: do not rely on => being the prompt 2020-07-24 18:55 [PATCH 1/1] test: do not rely on => being the prompt Heinrich Schuchardt 2020-07-27 13:32 ` Tom Rini @ 2020-07-31 21:42 ` Tom Rini 1 sibling, 0 replies; 3+ messages in thread From: Tom Rini @ 2020-07-31 21:42 UTC (permalink / raw) To: u-boot On Fri, Jul 24, 2020 at 08:55:37PM +0200, Heinrich Schuchardt wrote: > In our tests we should use the customized prompt for testing. > > Reported-by: Tom Rini <trini@konsulko.com> > Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> > Tested-by: Tom Rini <trini@konsulko.com> Applied to u-boot/master, thanks! -- 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> ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-07-31 21:42 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-07-24 18:55 [PATCH 1/1] test: do not rely on => being the prompt Heinrich Schuchardt 2020-07-27 13:32 ` Tom Rini 2020-07-31 21:42 ` Tom Rini
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox