How to force run tests as non-root?

2024-02-23 Thread Sergey Fedorov
If Macports is running as root, but tests require non-root user, how to do
that?
There is no test.asroot no, apparently.


Re: How to force run tests as non-root?

2024-02-23 Thread Joshua Root

On 24/2/2024 17:27, Sergey Fedorov wrote:
If Macports is running as root, but tests require non-root user, how to 
do that?

There is no test.asroot no, apparently.


All the usual ways you can run something as another user when you are 
root. You could prefix your build.cmd with 'sudo -u $macportsuser' for 
example.


- Josh