From d8868b654e9e6780468bc300d7e62df54ecf5a43 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 17 Nov 2014 15:22:04 +0100 Subject: [PATCH] Add new FPM test for IPv4/IPv6 Use 9000+PHP_INT_SIZE as poprt - to avoid using default 9000 - to allow multipole 32/64 bits simultaneous run --- sapi/fpm/tests/002.phpt | 5 ++-- sapi/fpm/tests/003.phpt | 5 ++-- sapi/fpm/tests/004.phpt | 62 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+), 4 deletions(-) create mode 100644 sapi/fpm/tests/004.phpt diff --git a/sapi/fpm/tests/002.phpt b/sapi/fpm/tests/002.phpt index 2ef6cedc38..ce878661ea 100644 --- a/sapi/fpm/tests/002.phpt +++ b/sapi/fpm/tests/002.phpt @@ -8,12 +8,13 @@ FPM: Startup and connect include "include.inc"; $logfile = dirname(__FILE__).'/php-fpm.log.tmp'; +$port = 9000+PHP_INT_SIZE; $cfg = << +--FILE-- + +--EXPECTF-- +string(%d) "[%d-%s-%d %d:%d:%d] NOTICE: fpm is running, pid %d +" +string(%d) "[%d-%s-%d %d:%d:%d] NOTICE: ready to handle connections +" +Done IPv4 +Done IPv6 +--CLEAN-- + -- 2.40.0