summaryrefslogtreecommitdiff
path: root/sapi/cli/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug #65678 the test cli_process_title_windows will fails on particular ↵Anatol Belski2013-09-201-3/+4
| | | | | | environnement Patch by Pierre Renaudet
* Merge branch 'PHP-5.4' into PHP-5.5Adam Harvey2013-09-091-0/+48
|\ | | | | | | | | | | | | | | | | | | * PHP-5.4: Handle CLI server request headers case insensitively. 5.4.21 now Conflicts: configure.in main/php_version.h
| * Handle CLI server request headers case insensitively.Adam Harvey2013-09-091-0/+48
| | | | | | | | Fixes bug #65633 (built-in server treat some http headers as case-sensitive).
* | Merge branch 'PHP-5.4' into PHP-5.5Adam Harvey2013-06-203-0/+117
|\ \ | |/ | | | | | | | | * PHP-5.4: Fix the spelling of the php_cli_server_http_response_status_code_pair typedef. Change the search in get_status_string() to correctly handle unknown codes.
| * Change the search in get_status_string() to correctly handle unknown codes.Adam Harvey2013-06-203-0/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This previously used a buggy implementation of binary search that would loop infinitely for unknown codes when searching in reason arrays of particular sizes (such as the one we have at the moment). Since C provides bsearch(), we'll just use that instead, since libc authors hopefully get this right. There was also an additional bug that was masked by the first one: the design was that an unknown code would result in get_status_string() returning NULL, which would then result in a segfault in append_http_status_line(), since it assumed that it would always receive a valid string pointer that could be handed off to smart_str_appends_ex(). We'll now return a placeholder in that case. Fixes bug #65066 (Cli server not responsive when responding with 422 http status code).
| * Forgot to fix the test on 5.4Nikita Popov2013-03-281-1/+1
| |
* | Fixed bug #64544 (Valgrind warnings after using putenv)Xinchen Hui2013-03-291-0/+20
| | | | | | | | | | The frozen_envion is needed, since if an item in environ is updated (like the test script HOME one), invalid free still shows up
* | Fix Bug #64545: PHP Error in ef93a93ee21bce9218188Nikita Popov2013-03-281-1/+1
| | | | | | | | Test was using die "Foo" instead of die("Foo").
* | Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2013-03-281-2/+7
|\ \ | |/
| * Attempt to fix SKIPXinchen Hui2013-03-281-2/+7
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2013-03-281-1/+1
|\ \ | |/
| * Fix test on Mac (\D shows up)Xinchen Hui2013-03-281-1/+1
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2013-03-281-0/+62
|\ \ | |/
| * Add test for #64529Xinchen Hui2013-03-281-0/+62
| |
* | Support for CLI process title (https://wiki.php.net/rfc/cli_process_title)Keyur Govande2013-03-072-0/+131
| | | | | | | | A new commit into branch 5.5
* | PR #260: Update css for 404 pages to feel more up to date and have a ↵Lars Strojny2013-01-142-4/+4
| | | | | | | | consistent layout across browsers
* | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2013-01-011-0/+82
|\ \ | |/ | | | | | | | | | | | | | | * PHP-5.4: Bug #43177: If an eval() has a parse error, the overall exit status and return code should not be affected. fix NEWS Conflicts: main/main.c
| * Bug #43177: If an eval() has a parse error, the overall exit status and ↵Stanislav Malyshev2013-01-011-0/+82
| | | | | | | | | | | | | | return code should not be affected. Without this fix, a webpage using eval() may return code 500. That might display fine and the 500 go unnoticed, but using AJAX or wget, the 500 will cause problems.
* | Merge branch 'PHP-5.4' into PHP-5.5Lars Strojny2012-12-141-133/+31
|\ \ | |/
| * update test for supported Mime Types checkingpascalc2012-12-141-133/+31
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Anatoliy Belsky2012-11-141-1/+1
|\ \ | |/ | | | | | | * PHP-5.4: Fixed test sapi/cli/tests/006.phpt
| * Fixed test sapi/cli/tests/006.phptAnatoliy Belsky2012-11-141-1/+1
| | | | | | | | Third param in preg_match_all() is optional for a while )
* | Merge branch 'PHP-5.4'Xinchen Hui2012-10-102-12/+12
|\ \ | |/
| * Implemented FR #63242 (Default error page in PHP built-in web server uses ↵Xinchen Hui2012-10-102-12/+12
| | | | | | | | outdated html/css)
* | Merge branch 'PHP-5.4'Xinchen Hui2012-10-101-0/+0
|\ \ | |/
| * Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-10-101-0/+0
| |\
| | * Remove executable permission on phptXinchen Hui2012-10-101-0/+0
| | |
* | | Merge branch 'PHP-5.4'Lars Strojny2012-09-181-0/+44
|\ \ \ | |/ /
| * | Merged GitHub PR #190: Support for the HTTP PATCH method in CLI webserverLars Strojny2012-09-181-0/+44
| | |
* | | Merge branch 'PHP-5.4'Stanislav Malyshev2012-09-151-0/+43
|\ \ \ | |/ / | | | | | | | | | * PHP-5.4: Respond with 501 to unknown request methods
| * | Respond with 501 to unknown request methodsNiklas Lindgren2012-09-151-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | Fixed typo Moved 501 response from dispatch to event_read_request Return return value of send_error_page
* | | Merge branch 'pull-request/132'Stanislav Malyshev2012-08-051-41/+0
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | * pull-request/132: OK, bye bye JavaScript, let's just include credits before license Nicer (JSLint-compliant!) credits reveal JavaScript Removed now-unnecessary expose_php checks for logo Fixed small misalignment in prev commit Removed Logo GUIDs and replaced with Data URIs and div hidden with JS
| * | Removed Logo GUIDs and replaced with Data URIs and div hidden with JSAndrew Faulds2012-07-141-41/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - removed php_logo_guid() - removed php_egg_logo_guid() - removed php_real_logo_guid() - removed zend_logo_guid() - removed logo GUID handling - removed logo GUIDs from source - added logo data URIs instead for phpinfo() - added credits to phpinfo() page, but hidden by default
* | | Sleep a little bit more, in some slow machine (like gcov), it will take a ↵Xinchen Hui2012-08-011-1/+1
|/ / | | | | | | little more time to setup server
* | Merge branch 'PHP-5.3' into PHP-5.4Anatoliy Belsky2012-05-291-1/+10
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.3: Fixed bug #62176 Test Bug - sapi/cli/tests/bug61546.phpt sync with HEAD Fixed bug #61218 (the previous patch was not enough restritive on fcgi name string checks) Fixed bug #61218 (FPM drops connection while receiving some binary valuesin FastCGI requests) - Fixed bug #62033 (USR2 signal was sent even if not catch when daemonize and an error occured) - Fixed bug #62160 (Add process.priority to set nice(2) priorities) - add missing headers to avoid warnings - Fixed bug #62153 (when using unix sockets, multiples FPM instances can be launched without errors) - Fixed bug #62033 (php-fpm exits with status 0 on some failures to start) Conflicts: NEWS sapi/fpm/fpm/fpm_main.c
| * Fixed bug #62176 Test Bug - sapi/cli/tests/bug61546.phptMatt Ficken2012-05-291-1/+10
| |
* | Correct test titleXinchen Hui2012-05-091-1/+1
| |
* | Implemented FR #61977 (Need CLI web-server support for files with .htm & svg ↵Xinchen Hui2012-05-091-0/+157
| | | | | | | | extensions)
* | Fix test failed, the fsockopen will be refused immediately if the server is ↵Xinchen Hui2012-05-091-10/+7
| | | | | | | | not set up.
* | Fix bug 61769 Random failure of php_cli_server*phpt testsMatt Ficken2012-05-062-2/+25
| |
* | Merge remote-tracking branch 'origin/PHP-5.3' into PHP-5.4Xinchen Hui2012-04-301-0/+22
|\ \ | |/ | | | | | | | | | | | | | | * origin/PHP-5.3: Fixed bug #61546 (functions related to current script failed when chdir() in cli sapi). - BFN Conflicts: sapi/cli/php_cli.c
| * Fixed bug #61546 (functions related to current script failed when chdir() in ↵Xinchen Hui2012-04-301-0/+22
| | | | | | | | cli sapi).
| * more verbose skip reason in test files with not so obvious extension ↵Olivier DOUCET2012-02-253-3/+3
| | | | | | | | requirements
| * stream_socket_server("unix://..." has a length limit, so it is better to use ↵Ferenc Kovacs2011-10-221-1/+1
| | | | | | | | the tmp dir instead of the current test dir for the socket file. see https://bugs.php.net/bug.php?id=60106
| * there is a length limit on the shebang line, ignore the tests for >= 127Ferenc Kovacs2011-10-201-0/+4
| |
| * Update log, marking 5.4 and trunk as XFAIL due to bug #55496Christopher Jones2011-08-231-7/+27
| |
* | typo in testXinchen Hui2012-04-211-1/+1
| |
* | Fixed typoXinchen Hui2012-04-211-1/+1
| | | | | | | | report by reeze.xia@gmail.com
* | - Fixed expected test result (patch by ab@php.net in #61769)Felipe Pena2012-04-191-1/+1
| |
* | - Fix test titleFelipe Pena2012-04-191-1/+1
| |