1--TEST-- 2FPM: test invalid port value 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}} 13[unconfined] 14listen = 127.0.0.1:69002 15pm = dynamic 16pm.max_children = 1 17pm.start_servers = 1 18pm.min_spare_servers = 1 19pm.max_spare_servers = 1 20EOT; 21 22$tester = new FPM\Tester($cfg); 23$tester->start(); 24$tester->expectLogError("invalid port value '69002'"); 25$tester->terminate(); 26$tester->close(); 27 28?> 29Done 30--EXPECT-- 31Done 32--CLEAN-- 33<?php 34require_once "tester.inc"; 35FPM\Tester::clean(); 36?> 37