From patchwork Wed Apr 22 15:52:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 238325 List-Id: U-Boot discussion From: xypron.glpk at gmx.de (Heinrich Schuchardt) Date: Wed, 22 Apr 2020 17:52:53 +0200 Subject: [PATCH 0/2] test/py: fix test_efi_secboot/conftest.py Message-ID: <20200422155255.148711-1-xypron.glpk@gmx.de> 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