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