[PATCH 0/2] test/py: fix test_efi_secboot/conftest.py

Heinrich Schuchardt xypron.glpk at gmx.de
Wed Apr 22 17:52:53 CEST 2020

The Python tests for secure booting have some issues that stop them from
being executed by non-root.

With this patch series a non-root user can execute the tests if he is
member of the sudoers group.

The test preparations relies on mounting a disk image. Non-root users can
only mount fuse file-systems and fusefat is in bad shape. So currently
changing the tests to run as non-sudo user seems infeasible.

Heinrich Schuchardt (2):
  test/py: efi_secboot should not assume sbin is in the path
  test/py: fix test_efi_secboot/conftest.py

 test/py/tests/test_efi_secboot/conftest.py | 34 +++++-----------------
 1 file changed, 8 insertions(+), 26 deletions(-)


More information about the U-Boot mailing list