diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-07-24 21:55:37 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-07-31 15:44:41 +0300 |
commit | 87438b5e14b5737ad7544b2ca24192c692e000ef (patch) | |
tree | dc1f29b4d32a9d39cf5c88c14b832022a5a06283 /test | |
parent | 719f42190d5f0238cb01ef2ffba8af2285f7bc7a (diff) | |
download | u-boot-87438b5e14b5737ad7544b2ca24192c692e000ef.tar.xz |
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>
Diffstat (limited to 'test')
-rw-r--r-- | test/py/tests/test_efi_loader.py | 2 |
1 files changed, 1 insertions, 1 deletions
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('') |