[PATCH] tests: Do not hardcode sudo tool

Simon Glass sjg at chromium.org
Thu Aug 25 03:25:30 CEST 2022


Hi Michal,

On Wed, 24 Aug 2022 at 00:48, Michal Suchanek <msuchanek at suse.de> wrote:
>
> In some situations it may be needed to pass parameters to sudo or to use
> a different tool to gain root access. Add SUDO variable to specify the
> sudo tool.
>
> Signed-off-by: Michal Suchanek <msuchanek at suse.de>
> ---
>  test/fs/fat-noncontig-test.sh     |  9 +++++----
>  test/fs/fs-test.sh                | 26 ++++++++++++++------------
>  test/py/tests/test_fs/conftest.py |  8 +++++---
>  test/py/tests/test_ut.py          | 14 ++++++++------
>  4 files changed, 32 insertions(+), 25 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>

But please can you update doc/develop/testing.rst ?

Regards,
Simon


More information about the U-Boot mailing list