]> granicus.if.org Git - php/commit
Use ephemeral port in more server tests
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 23 Oct 2020 09:29:44 +0000 (11:29 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 23 Oct 2020 12:26:34 +0000 (14:26 +0200)
commit6ab4e330ac032389d370a722e54ee63aafaa9728
tree2c4712242f9eb2ce8134c7a2b25bd8bada6e5122
parent3859e743478cc7b1f47bfb40873ef9290b012ae5
Use ephemeral port in more server tests

Port the main php_cli_server.inc to use ephemeral ports, thus
allowing CLI server tests to be parallelized.

A complication here is that we also need to give each test a
separate doc root, to avoid index.php files writing over each
other.

Closes GH-6375.
15 files changed:
ext/soap/tests/bug73037.phpt
ext/soap/tests/custom_content_type.phpt
ext/standard/tests/streams/bug64433.phpt
ext/standard/tests/url/get_headers_error_003.phpt
sapi/cli/tests/CONFLICTS [deleted file]
sapi/cli/tests/bug61977.phpt
sapi/cli/tests/bug67429_1.phpt
sapi/cli/tests/bug67429_2.phpt
sapi/cli/tests/bug68291.phpt
sapi/cli/tests/bug69655.phpt
sapi/cli/tests/php_cli_server.inc
sapi/cli/tests/php_cli_server_002.phpt
sapi/cli/tests/php_cli_server_012.phpt
sapi/cli/tests/php_cli_server_015.phpt
tests/basic/bug67198.phpt