#
566f0673 |
|
22-Apr-2024 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: improve error handling in try_load_entry() The image is not unloaded if a security violation occurs. If efi_set_load_options() fails, we do not free the memory allocated for the optional data. We do not unload the image. * Unload the image if a security violation occurs. * Free load_options if efi_set_load_options() fails. * Unload the image if efi_set_load_options() fails. Fixes: 53f6a5aa8626 ("efi_loader: Replace config option for initrd loading") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
550862bc |
|
09-Nov-2023 |
Raymond Mao <raymond.mao@linaro.org> |
efi_loader: Boot var automatic management Changes for complying to EFI spec §3.5.1.1 'Removable Media Boot Behavior'. Boot variables can be automatically generated during a removable media is probed. At the same time, unused boot variables will be detected and removed. Please note that currently the function 'efi_disk_remove' has no ability to distinguish below two scenarios a) Unplugging of a removable media under U-Boot b) U-Boot exiting and booting an OS Thus currently the boot variables management is not added into 'efi_disk_remove' to avoid boot options being added/erased repeatedly under scenario b) during power cycles See TODO comments under function 'efi_disk_remove' for more details The original efi_secboot tests expect that BootOrder EFI variable is not defined. With this commit, the BootOrder EFI variable is automatically added when the disk is detected. The original efi_secboot tests end up with unexpected failure. The efi_secboot tests need to be modified to explicitly set the BootOrder EFI variable. squashfs and erofs ls tests are also affected by this modification, need to clear the previous state before squashfs ls test starts. Co-developed-by: Masahisa Kojima <masahisa.kojima@linaro.org> Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Signed-off-by: Raymond Mao <raymond.mao@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Joao Marcos Costa <jmcosta944@gmail.com> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
ce62b0f8 |
|
23-Apr-2021 |
Ilias Apalodimas <ilias.apalodimas@linaro.org> |
test/py: Fix efidebug related tests commit cbea241e935e("efidebug: add multiple device path instances on Boot####") slightly tweaked the efidebug syntax adding -b, -i and -s for the boot image, initrd and optional data. The pytests using this command were adapted as well. However I completely missed the last "" argument, which at the time indicated the optional data and needed conversion as well. This patch is adding the missing -s flag and the tests are back to normal. Fixes: cbea241e935e("efidebug: add multiple device path instances on Boot####") Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviwed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
cbea241e |
|
17-Mar-2021 |
Ilias Apalodimas <ilias.apalodimas@linaro.org> |
efidebug: add multiple device path instances on Boot#### The UEFI spec allows a packed array of UEFI device paths in the FilePathList[] of an EFI_LOAD_OPTION. The first file path must describe the loaded image but the rest are OS specific. Previous patches parse the device path and try to use the second member of the array as an initrd. So let's modify efidebug slightly and install the second file described in the command line as the initrd device path. Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <akashi.tkhro@gmail.com> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <akashi.tkhro@gmail.com> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <akashi.tkhro@gmail.com> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <akashi.tkhro@gmail.com> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <akashi.tkhro@gmail.com> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
550862bc |
|
09-Nov-2023 |
Raymond Mao <raymond.mao@linaro.org> |
efi_loader: Boot var automatic management Changes for complying to EFI spec §3.5.1.1 'Removable Media Boot Behavior'. Boot variables can be automatically generated during a removable media is probed. At the same time, unused boot variables will be detected and removed. Please note that currently the function 'efi_disk_remove' has no ability to distinguish below two scenarios a) Unplugging of a removable media under U-Boot b) U-Boot exiting and booting an OS Thus currently the boot variables management is not added into 'efi_disk_remove' to avoid boot options being added/erased repeatedly under scenario b) during power cycles See TODO comments under function 'efi_disk_remove' for more details The original efi_secboot tests expect that BootOrder EFI variable is not defined. With this commit, the BootOrder EFI variable is automatically added when the disk is detected. The original efi_secboot tests end up with unexpected failure. The efi_secboot tests need to be modified to explicitly set the BootOrder EFI variable. squashfs and erofs ls tests are also affected by this modification, need to clear the previous state before squashfs ls test starts. Co-developed-by: Masahisa Kojima <masahisa.kojima@linaro.org> Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Signed-off-by: Raymond Mao <raymond.mao@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Joao Marcos Costa <jmcosta944@gmail.com> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
ce62b0f8 |
|
23-Apr-2021 |
Ilias Apalodimas <ilias.apalodimas@linaro.org> |
test/py: Fix efidebug related tests commit cbea241e935e("efidebug: add multiple device path instances on Boot####") slightly tweaked the efidebug syntax adding -b, -i and -s for the boot image, initrd and optional data. The pytests using this command were adapted as well. However I completely missed the last "" argument, which at the time indicated the optional data and needed conversion as well. This patch is adding the missing -s flag and the tests are back to normal. Fixes: cbea241e935e("efidebug: add multiple device path instances on Boot####") Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviwed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
cbea241e |
|
17-Mar-2021 |
Ilias Apalodimas <ilias.apalodimas@linaro.org> |
efidebug: add multiple device path instances on Boot#### The UEFI spec allows a packed array of UEFI device paths in the FilePathList[] of an EFI_LOAD_OPTION. The first file path must describe the loaded image but the rest are OS specific. Previous patches parse the device path and try to use the second member of the array as an initrd. So let's modify efidebug slightly and install the second file described in the command line as the initrd device path. Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
ce62b0f8 |
|
23-Apr-2021 |
Ilias Apalodimas <ilias.apalodimas@linaro.org> |
test/py: Fix efidebug related tests commit cbea241e935e("efidebug: add multiple device path instances on Boot####") slightly tweaked the efidebug syntax adding -b, -i and -s for the boot image, initrd and optional data. The pytests using this command were adapted as well. However I completely missed the last "" argument, which at the time indicated the optional data and needed conversion as well. This patch is adding the missing -s flag and the tests are back to normal. Fixes: cbea241e935e("efidebug: add multiple device path instances on Boot####") Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviwed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
cbea241e |
|
17-Mar-2021 |
Ilias Apalodimas <ilias.apalodimas@linaro.org> |
efidebug: add multiple device path instances on Boot#### The UEFI spec allows a packed array of UEFI device paths in the FilePathList[] of an EFI_LOAD_OPTION. The first file path must describe the loaded image but the rest are OS specific. Previous patches parse the device path and try to use the second member of the array as an initrd. So let's modify efidebug slightly and install the second file described in the command line as the initrd device path. Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
cbea241e |
|
17-Mar-2021 |
Ilias Apalodimas <ilias.apalodimas@linaro.org> |
efidebug: add multiple device path instances on Boot#### The UEFI spec allows a packed array of UEFI device paths in the FilePathList[] of an EFI_LOAD_OPTION. The first file path must describe the loaded image but the rest are OS specific. Previous patches parse the device path and try to use the second member of the array as an initrd. So let's modify efidebug slightly and install the second file described in the command line as the initrd device path. Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
2b3fbcb5 |
|
24-Aug-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
efi_loader: use ':' as separator for setenv -i setenv -e -i <address>,<filesize> can be used to set a UEFI variable from memory. For separating an address and a size we use ':' in most commands. Let's do the same for setenv -e -i. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
d863b307 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: more fixes against pylint More fixes against pylint warnings that autopep8 didn't handle in the previous commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
91d2b621 |
|
07-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: apply autopep8 Python's autopep8 can automatically correct some of warnings from pylint and rewrite the code in a pretty print format. So just do it. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
bed118fb |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
test/py: efi_secboot: remove all "re.search" Currently, we don't use any regular expression in matching outputs from U-Boot. Since its use is just redundant, we can remove all. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
dc2b4734 |
|
08-Jun-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
Revert "test: stabilize test_efi_secboot" This reverts commit 5827c2545849441dd60467565aac11964259972f. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
5827c254 |
|
03-May-2020 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
test: stabilize test_efi_secboot When setting up the console via function efi_console_register() we call query_console_serial(). This functions sends an escape sequence to the terminal to query the display size. The response is another escape sequence. console.run_command_list() is looking for a regular expression '^==>'. If the escape sequence for the screen size precedes the prompt without a line break, no match is found. When efi_disk_register() is called before efi_console_register() this leads to a test failuere of the UEFI secure boot tests. We can avoid the problem if the first UEFI command passed to u_boot_console.run_command_list() produces output. This patch achieves this by appending '; echo' to the first UEFI related command of the problematic tests. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
#
7254ebed |
|
13-Apr-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
efi_loader, pytest: add UEFI secure boot tests (image) Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|