Download src/php/php-src/sapi/fpm/tests/bug68591-conf-test-user.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 583 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/fpm/tests/bug68591-conf-test-user.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/sapi/fpm/tests/bug68591-conf-test-user.phpt
-
curl -L -o bug68591-conf-test-user.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/fpm/tests/bug68591-conf-test-user.phpt
583 Bytes
| --TEST-- | |
| FPM: bug68591 - config test user existence | |
| --SKIPIF-- | |
| include "skipif.inc"; | |
| --FILE-- | |
| require_once "tester.inc"; | |
| $cfg = <<<EOT | |
| [global] | |
| error_log = {{FILE:LOG}} | |
| [unconfined] | |
| listen = {{ADDR:UDS}} | |
| user = aaaaaa | |
| pm = dynamic | |
| pm.max_children = 5 | |
| pm.start_servers = 2 | |
| pm.min_spare_servers = 1 | |
| pm.max_spare_servers = 3 | |
| EOT; | |
| $tester = new FPM\Tester($cfg); | |
| $tester->testConfig(); | |
| Done | |
| --EXPECT-- | |
| ERROR: [pool unconfined] cannot get uid for user 'aaaaaa' | |
| ERROR: FPM initialization failed | |
| Done | |
| --CLEAN-- | |
| require_once "tester.inc"; | |
| FPM\Tester::clean(); | |