Hello!
On Tue, Jan 11, 2022 at 02:05:31AM +0300, Maxim Dounin wrote:
> The test suite can be run as root, but, given that nginx switches
> to a non-privileged user by default (https://nginx.org/r/user),
> and temporary directory is only readable by the owner, running
> test suite as root requires some additional tuning for most of the
> tests to work, e.g.:
>
> # TEST_NGINX_GLOBALS="user root wheel;" prove ssi_waited.t
>
> The fact that the test suite by default is expected to be run
> under a normal user is already in the README, though may be in
> somewhat obscure form: note the "$ " prompt in the usage example.
That makes sense, thanks for the explanation! I wished this was on the
README somewhere, would have spared me some time though :-)
Best,
Hugo
--
Hugo Lefeuvre (hle) | www.owl.eu.com
RSA4096_ 360B 03B3 BF27 4F4D 7A3F D5E8 14AA 1EB8 A247 3DFD
ed25519_ 37B2 6D38 0B25 B8A2 6B9F 3A65 A36F 5357 5F2D DC4C
_______________________________________________
nginx-devel mailing list -- nginx-devel@nginx.org
To unsubscribe send an email to nginx-devel-leave@nginx.org