--TEST-- FPM: Socket for invalid allowed client only --SKIPIF-- --FILE-- start(); $tester->expectLogStartNotices(); $tester->checkRequest('127.0.0.1', 'Req: ok', 'Req: error'); $tester->terminate(); // this is from child when starting $tester->expectLogLine("ERROR: Wrong IP address 'xxx' in listen.allowed_clients"); $tester->expectLogLine("ERROR: There are no allowed addresses"); // this is from the request $tester->expectLogLine("ERROR: Connection disallowed: IP address '127.0.0.1' has been dropped."); $tester->expectLogTerminatingNotices(); $tester->close(); ?> Done --EXPECT-- Req: error Done --CLEAN--