1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 23:48:14 +02:00
Commit Graph

15 Commits

Author SHA1 Message Date
Adam Harvey 27ff425b78 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Handle NULL strings in sapi_cli_server_register_variable().
  Allow CLI server test scripts to specify the name of the router file.

Conflicts:
	sapi/cli/tests/php_cli_server.inc
2015-01-06 01:27:37 +00:00
Adam Harvey 0cc2810498 Allow CLI server test scripts to specify the name of the router file.
This is required to write tests that behave differently when an index.php isn't
present in the document root. (Such as the one I'm about to commit.)
2015-01-06 01:22:59 +00:00
Michael Wallner 4a9d7c1f00 add NEWS entry; add simple test 2013-08-06 22:51:58 +02:00
Xinchen Hui 36100060b3 Sleep a little bit more, in some slow machine (like gcov), it will take a little more time to setup server 2012-08-01 23:54:01 +08:00
Xinchen Hui 7b2ab56997 Fix test failed, the fsockopen will be refused immediately if the server is not set up. 2012-05-09 11:21:24 +08:00
Matt Ficken 87a011d372 Fix bug 61769 Random failure of php_cli_server*phpt tests 2012-05-06 18:05:02 +02:00
Xinchen Hui e1931dd1ad Minor change, test using php mail address as account 2012-03-20 15:41:43 +08:00
Pierrick Charron 3bfd03b6b6 Don't load php.ini file to test the built-in web server 2011-11-18 06:15:25 +00:00
Xinchen Hui f2c6e116d2 revert my previous change, tests hangs on windows 2011-11-17 02:32:21 +00:00
Xinchen Hui 347876158c improve the test, let it say about errors 2011-11-17 02:22:06 +00:00
Xinchen Hui f42ea8557c MFH, fix test 2011-11-15 03:19:54 +00:00
Xinchen Hui 67ae60f4f5 Fix test, now can run on windows 2011-10-25 10:54:39 +00:00
Xinchen Hui 7c1e64e2a6 add tests for PATH_INFO
update php_cli_server.inc to support no router server
2011-10-23 13:57:25 +00:00
Shein Alexey 3c365dc3ef 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
2011-09-20 14:53:46 +00:00
Xinchen Hui 00bab0493e Add tests for built-in webserver 2011-09-20 07:10:46 +00:00