mbox series

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

Message ID 20200422155255.148711-1-xypron.glpk@gmx.de
Headers show
Series test/py: fix test_efi_secboot/conftest.py | expand

Message

Heinrich Schuchardt April 22, 2020, 3:52 p.m. UTC
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(-)

--
2.26.1