History log of /PHP-7.1/sapi/cli/tests/php_cli_server.inc (Results 26 – 28 of 28)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 3c365dc3 20-Sep-2011 Shein Alexey

Refactored and speeded up php_cli_server tests, also get rid of test hanging on ubuntu:
1) Prepended starting the server with "exec" so proc_terminate can correctly close it (see also this note h

Refactored and speeded up php_cli_server tests, also get rid of test hanging on ubuntu:
1) Prepended starting the server with "exec" so proc_terminate can correctly close it (see also this note http://www.php.net/manual/en/function.proc-get-status.php#93382 for details)
2) Moved putting down the server to the shutdown function to make it independent from tests (fatal) errors
3) Moved php cli executable into the function to make tests more readable
4) changed sleep(1) to usleep(50000) (50 ms) to make tests faster - this needs more testing and if timeout is too small should be increased

show more ...


# 552bfa81 20-Sep-2011 Xinchen Hui

Add tests for built-in webserver


# 00bab049 20-Sep-2011 Xinchen Hui

Add tests for built-in webserver


12