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

62 Commits

Author SHA1 Message Date
Peter Cowburn 1c0765195e broaden php version wildcard in cli server tests (missed a few) 2011-11-11 11:33:23 +00:00
Peter Cowburn 2a41f272e4 broaden php version wildcard in cli server tests 2011-11-11 11:26:51 +00:00
Xinchen Hui bba44800ae Fixed bug #60189 (php logo can not be displayed) 2011-11-01 13:06:41 +00:00
Xinchen Hui c0402915e7 Fixed Bug #60180 ($_SERVER["PHP_SELF"] incorrect) 2011-11-01 12:24:02 +00:00
Xinchen Hui 14b2cc32fc Fix test faild on windows due to DEFAULT_SLASH 2011-10-25 10:56:11 +00:00
Xinchen Hui 688ba01bc4 Fix test, now can run on windows 2011-10-25 10:54:39 +00:00
Ferenc Kovacs 145437e016 using %s-dev instead of the exact version number 2011-10-23 20:38:53 +00:00
Xinchen Hui 455bc9df4c add tests for PATH_INFO
update php_cli_server.inc to support no router server
2011-10-23 13:57:25 +00:00
Ferenc Kovacs e509dfec9c stream_socket_server("unix://..." has a length limit, so it is better to use the tmp dir instead of the current test dir for the socket file. see https://bugs.php.net/bug.php?id=60106 2011-10-22 21:44:05 +00:00
Moriyoshi Koizumi c34ef62773 Add SERVER_PROTOCOL variable to $_SERVER. Patch by kuzuha. Thanks. 2011-10-21 05:24:30 +00:00
Ferenc Kovacs 99bb66404d there is a length limit on the shebang line, ignore the tests for >= 127 2011-10-20 18:09:44 +00:00
Xinchen Hui 8b65d7b80c Add tests 2011-09-23 03:09:12 +00:00
Xinchen Hui 32dba92b66 Add tests for bug #55755 2011-09-22 02:26:00 +00:00
Xinchen Hui 8d97573973 change test, and added a test for post file 2011-09-21 07:51:31 +00:00
Xinchen Hui 86a48c6ca9 Fixed bug #55747 (request headers missed in $_SERVER) 2011-09-21 03:09:42 +00:00
Shein Alexey 2cf4f98c93 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 0d74e0f091 fix INI section 2011-09-20 08:13:55 +00:00
Xinchen Hui 552bfa8156 Add tests for built-in webserver 2011-09-20 07:10:46 +00:00
Christopher Jones 7a280ee650 Update log, marking 5.4 and trunk as XFAIL due to bug #55496 2011-08-23 20:59:10 +00:00
Pierrick Charron 1bf6d03020 # Fix phpt 2011-05-05 18:30:14 +00:00
Antony Dovgal 829d08e50c fix CLI tests failing because of new OB API 2011-05-04 08:24:16 +00:00
Jani Taskinen af49e58f51 - Reverted r296062 and r296065 2010-03-12 10:28:59 +00:00
Jani Taskinen 06f072cb5e MFH: Improved / fixed output buffering (Michael Wallner) 2010-03-11 10:24:29 +00:00
Ilia Alshanetsky 9e76501f1e Fixed test 2009-09-13 13:14:11 +00:00
Arnaud Le Blanc 6540730732 MFH: Fix skipif 2009-05-20 10:08:32 +00:00
Marcus Boerger 8bdeb10a08 - MFH Fix test 2008-12-31 12:33:12 +00:00
Arnaud Le Blanc 9b0d76d585 Open STDIN and php://stdin streams with the relevant
wrapper when the file descriptor is a socket (inetd, etc)
Fixes bug #43731
2008-11-04 21:05:31 +00:00
Rob Richards a16bcaeb4b MFH: use getenv 2008-09-30 15:11:05 +00:00
Marcus Boerger 3dadcee60b - MFH Fix test 2008-08-30 11:32:29 +00:00
Jani Taskinen 13dff74889 fix tests 2008-08-14 20:51:35 +00:00
Antony Dovgal 8793440eee fix test 2008-07-13 09:42:25 +00:00
Nuno Lopes 180a7bef35 add test for the shebang thing 2008-07-06 16:59:39 +00:00
Nuno Lopes 504fe5eedb fix test for good consoles (tm) 2008-07-06 16:38:18 +00:00
Antony Dovgal 6b68a94242 fix test 2008-06-06 07:45:51 +00:00
Antony Dovgal b021e04c0e MFH: fix test 2008-04-07 12:14:04 +00:00
Felipe Pena 3230a77d89 MFB: Fixed bug #44564 (escapeshellarg removes UTF-8 multi-byte characters) 2008-03-30 12:24:10 +00:00
Nuno Lopes 37660519cb fix tests (removed duplicated stuff) 2008-03-17 16:32:15 +00:00
Antony Dovgal 964e0522a1 fix test 2008-03-17 14:05:39 +00:00
Marcus Boerger af316021e8 - Rewrite scanner to be based on re2c instead of flex
The full patch is available as:
  http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
  This is against php-re2c repository version 98
  An older patch against version 97 is available under:
  http://php.net/~helly/php-re2c-97-20080316.diff.txt
2008-03-16 21:06:55 +00:00
Felipe Pena 8acaf4118c Fix test (new constant was added in PREG) 2008-03-08 23:06:42 +00:00
Johannes Schlüter 278b7f2bdd - MFH: New tests 2008-03-07 21:33:17 +00:00
Johannes Schlüter 95623a1d70 MFH: New tests 2008-03-01 21:55:38 +00:00
Antony Dovgal 01fa5a782b MFH 2008-02-28 09:18:13 +00:00
Antony Dovgal 9a16d91117 fix test
Derick, you're adding new methods too fast =)
2008-01-29 12:23:48 +00:00
Hannes Magnusson bb9fa509fe Fix test 2008-01-27 19:10:41 +00:00
Ilia Alshanetsky f94d19ffea Fixed test 2008-01-13 17:23:14 +00:00
Antony Dovgal 996e245143 fix test 2007-12-15 12:46:22 +00:00
foobar 6567a93a2a fix test 2007-06-01 22:18:56 +00:00
Antony Dovgal 568525bbb5 fix test (second try) 2007-05-30 14:43:18 +00:00
Antony Dovgal 2958037b2a fix test 2007-05-30 14:40:24 +00:00