[php-src] PR #11400: Suppress warning when the test run under non-root
| From: | mikhainin | Date: | Thu, 08 Jun 2023 09:59:51 +0000 |
| Subject: | [php-src] PR #11400: Suppress warning when the test run under non-root | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22688@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11400
Author: mikhainin
When we run the test under non-root user, the test gets BORKed with:
Warning: pcntl_unshare(): Error 1: No privilege to use these flags in
ext/pcntl/tests/pcntl_unshare_03.skip.php on line 8 skip Insufficient privileges for CLONE_NEWUSER
It looks like for the root-user there is the similar warning which is already suppressed (see the
following "skip"). Let us skip the test properly if we aren't able to execute it