Re: Don't use sudo in python tests

2022-10-22 Thread Sean Anderson
On 10/22/22 18:00, Heinrich Schuchardt wrote: Am 22. Oktober 2022 20:44:27 MESZ schrieb Sean Anderson : On 10/22/22 08:04, Tom Rini wrote: On Sat, Oct 22, 2022 at 10:24:33AM +0200, Heinrich Schuchardt wrote: Hello Simon, As described in doc/develop/py_testing.doc using sudo in python tests

Re: Don't use sudo in python tests

2022-10-22 Thread Heinrich Schuchardt
Am 22. Oktober 2022 20:44:27 MESZ schrieb Sean Anderson : >On 10/22/22 08:04, Tom Rini wrote: >> On Sat, Oct 22, 2022 at 10:24:33AM +0200, Heinrich Schuchardt wrote: >>> Hello Simon, >>> >>> As described in doc/develop/py_testing.doc using sudo in python tests >>> should be avoided. >>> >>> *

Re: Don't use sudo in python tests

2022-10-22 Thread Tom Rini
On Sat, Oct 22, 2022 at 02:44:27PM -0400, Sean Anderson wrote: > On 10/22/22 08:04, Tom Rini wrote: > > On Sat, Oct 22, 2022 at 10:24:33AM +0200, Heinrich Schuchardt wrote: > > > Hello Simon, > > > > > > As described in doc/develop/py_testing.doc using sudo in python tests > > > should be avoided.

Re: Don't use sudo in python tests

2022-10-22 Thread Sean Anderson
On 10/22/22 08:04, Tom Rini wrote: On Sat, Oct 22, 2022 at 10:24:33AM +0200, Heinrich Schuchardt wrote: Hello Simon, As described in doc/develop/py_testing.doc using sudo in python tests should be avoided. * users building U-Boot may not be sudoers * running code as sudo comes with a risk You

Re: Don't use sudo in python tests

2022-10-22 Thread Tom Rini
On Sat, Oct 22, 2022 at 10:24:33AM +0200, Heinrich Schuchardt wrote: > Hello Simon, > > As described in doc/develop/py_testing.doc using sudo in python tests > should be avoided. > > * users building U-Boot may not be sudoers > * running code as sudo comes with a risk > > You added sudo in test/

Don't use sudo in python tests

2022-10-22 Thread Heinrich Schuchardt
Hello Simon, As described in doc/develop/py_testing.doc using sudo in python tests should be avoided. * users building U-Boot may not be sudoers * running code as sudo comes with a risk You added sudo in test/py/tests/test_ut.py Can we use virt-make-fs here? Best regards Heinrich