1--TEST--
2FPM: Validates arrays in configuration are correctly set - access.suppress_path doesn't accept key with forward slash
3--SKIPIF--
4<?php include "skipif.inc"; ?>
5--FILE--
6<?php
7
8require_once "tester.inc";
9
10$cfg = <<<EOT
11[global]
12error_log = {{FILE:LOG}}
13pid = {{FILE:PID}}
14[unconfined]
15listen = {{ADDR}}
16access.suppress_path[/] = test
17pm = static
18pm.max_children = 5
19EOT;
20
21$tester = new FPM\Tester($cfg);
22$tester->start(['-tt']);
23$tester->expectLogError("\[%s:%d\] Keys provided to field 'access.suppress_path' are ignored");
24
25?>
26Done
27--EXPECT--
28
29Done
30--CLEAN--
31<?php
32require_once "tester.inc";
33FPM\Tester::clean();
34?>
35