[php-src] PR #19290: Set TEST_NON_ROOT_USER in CI
| From: | arnaud-lb | Date: | Tue, 29 Jul 2025 15:28:19 +0000 |
| Subject: | [php-src] PR #19290: Set TEST_NON_ROOT_USER in CI | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32679@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19290
Author: arnaud-lb
Some times ago I added a few
opcache.preload_user tests that need a
TEST_NON_ROOT_USER variable, but I never defined this variable in CI (these tests also
need to run as root, but there were no CI job that ran as root at the time).
Here I fix this by setting the variable in the ALPINE nightly job, which runs as root.
Also set ASAN_OPTIONS=detect_leaks=0 for these tests, because the preload child process
doesn't exit cleanly: https://github.com/php/php-src/blob/61415942c244a47e92464bfeef366f7220b6005d/ext/opcache/ZendAccelerator.c#L5059