test suite failure with 1.20.1

Hugo Lefeuvre hle at owl.eu.com
Fri Jan 14 15:28:20 UTC 2022


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20220114/ee3f16c7/attachment.bin>


More information about the nginx-devel mailing list