diff --git a/sapi/fpm/tests/fcgi-env-pif-apache-handler-uds.phpt b/sapi/fpm/tests/fcgi-env-pif-apache-handler-uds.phpt new file mode 100644 index 00000000000..b80fdef3ffd --- /dev/null +++ b/sapi/fpm/tests/fcgi-env-pif-apache-handler-uds.phpt @@ -0,0 +1,53 @@ +--TEST-- +FPM: FastCGI env var path info fix for Apache handler using Unix Domain Socket +--SKIPIF-- + +--FILE-- +createSourceFileAndScriptName(); +$tester->start(); +$tester->expectLogStartNotices(); +$tester + ->request( + uri: $scriptName, + address: '{{ADDR:UDS}}', + scriptFilename: "proxy:fcgi://localhost" . $sourceFilePath, + scriptName: $scriptName, + ) + ->expectBody([$scriptName, $sourceFilePath, $scriptName]); +$tester->terminate(); +$tester->close(); + +?> +Done +--EXPECT-- +Done +--CLEAN-- + diff --git a/sapi/fpm/tests/fcgi-env-pif-apache-handler-basic.phpt b/sapi/fpm/tests/fcgi-env-pif-apache-handler-with-pi.phpt similarity index 94% rename from sapi/fpm/tests/fcgi-env-pif-apache-handler-basic.phpt rename to sapi/fpm/tests/fcgi-env-pif-apache-handler-with-pi.phpt index a99f373cf33..2d8433123cb 100644 --- a/sapi/fpm/tests/fcgi-env-pif-apache-handler-basic.phpt +++ b/sapi/fpm/tests/fcgi-env-pif-apache-handler-with-pi.phpt @@ -1,5 +1,5 @@ --TEST-- -FPM: FastCGI env var path info fix for Apache handler basic +FPM: FastCGI env var path info fix for Apache handler with PATH_INFO set --SKIPIF-- --FILE--