1--TEST--
2FPM: bug68591 - config test listen owner existence
3--SKIPIF--
4<?php
5include "skipif.inc";
6?>
7--FILE--
8<?php
9
10require_once "tester.inc";
11
12$cfg = <<<EOT
13[global]
14error_log = {{FILE:LOG}}
15[unconfined]
16listen = {{ADDR:UDS}}
17listen.owner = aaaaaa
18user = root
19pm = dynamic
20pm.max_children = 5
21pm.start_servers = 2
22pm.min_spare_servers = 1
23pm.max_spare_servers = 3
24EOT;
25
26$tester = new FPM\Tester($cfg);
27$tester->testConfig();
28
29?>
30Done
31--EXPECTF--
32ERROR: [pool unconfined] cannot get uid for user 'aaaaaa': %s
33ERROR: FPM initialization failed
34Done
35--CLEAN--
36<?php
37require_once "tester.inc";
38FPM\Tester::clean();
39?>
40