mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
test: do not rely on => being the prompt
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>
This commit is contained in:
parent
719f42190d
commit
87438b5e14
|
@ -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('')
|
||||
|
|
Loading…
Reference in New Issue
Block a user