Don't use sudo in python tests

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Oct 22 10:24:33 CEST 2022


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



More information about the U-Boot mailing list