aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-05-09 22:02:05 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-05-28 10:59:27 +0200
commitb96de9cb0c27a736bd605b6ac063f23b12c0d134 (patch)
treed325820bf6b829b22716d52823d26e655007c0c8
parentb9bf9c587f25a3afafb99772fb0f819484c8aea6 (diff)
downloadu-boot-b96de9cb0c27a736bd605b6ac063f23b12c0d134.zip
u-boot-b96de9cb0c27a736bd605b6ac063f23b12c0d134.tar.gz
u-boot-b96de9cb0c27a736bd605b6ac063f23b12c0d134.tar.bz2
test: don't change console timeout in EFI selftest.
Changing the console timeout to 500 ms without restoring the original value leads to failures in other tests. As the console timeout change is not necessary for the text input protocol tests remove it. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-rw-r--r--test/py/tests/test_efi_selftest.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/py/tests/test_efi_selftest.py b/test/py/tests/test_efi_selftest.py
index 5257f7a..e92d63c 100644
--- a/test/py/tests/test_efi_selftest.py
+++ b/test/py/tests/test_efi_selftest.py
@@ -73,7 +73,6 @@ def test_efi_selftest_text_input(u_boot_console):
if u_boot_console.p.expect([r'To terminate type \'x\'']):
raise Exception('No prompt for \'text input\' test')
u_boot_console.drain_console()
- u_boot_console.p.timeout = 500
# EOT
u_boot_console.run_command(cmd=chr(4), wait_for_echo=False,
send_nl=False, wait_for_prompt=False)
@@ -129,7 +128,6 @@ def test_efi_selftest_text_input_ex(u_boot_console):
if u_boot_console.p.expect([r'To terminate type \'CTRL\+x\'']):
raise Exception('No prompt for \'text input\' test')
u_boot_console.drain_console()
- u_boot_console.p.timeout = 500
# EOT
u_boot_console.run_command(cmd=chr(4), wait_for_echo=False,
send_nl=False, wait_for_prompt=False)