From: Heinrich Schuchardt Date: Mon, 9 May 2022 20:02:05 +0000 (+0200) Subject: test: don't change console timeout in EFI selftest. X-Git-Tag: baikal/mips/sdk5.9~3^2~38^2~7 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=afdc35a7cb3e0d683ac30a6801bf908f20da1d2b;p=uboot.git 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 --- diff --git a/test/py/tests/test_efi_selftest.py b/test/py/tests/test_efi_selftest.py index 5257f7a433..e92d63cde6 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)