Commit Graph

678 Commits

Author SHA1 Message Date
Felipe Pena
a4fb1ff6a5 - Fixed typo (reported by eyal.t at zend dot com) 2010-11-17 14:49:26 +00:00
Patrick Allaert
e2e76d40e3 - Fixed tests not passing under windows because of the directory separator
difference (thanks Eyal Teutsch for reporting)
2010-11-08 09:29:15 +00:00
Adam Harvey
c2b525eef1 Update the tests committed in r305098 (as part of the fix for bug #53226) to
use the PHP_MAXPATHLEN constant, as recommended by Pierre.
2010-11-08 09:14:48 +00:00
Adam Harvey
7f0d3f7d70 Fix bug #53226 (file_exists fails on big filenames). 2010-11-05 05:28:07 +00:00
Gustavo André dos Santos Lopes
da400e7500 - Fixed bug #53180 (post_max_size=0 not disabling the limit when the content
type is application/x-www-form-urlencoded or is not registered with PHP).
2010-10-27 14:56:51 +00:00
Gustavo André dos Santos Lopes
1f191e4d2b - Implemented request #44164, zlib.output_compression is now implicitly
disabled when the header "Content-length" is set.
#One could argue that any output handler could change the size of the
#response, so this exception for zlib.output_compression is an
#inconsistency. However, zlib.output_compression is presented as a
#performance setting, whose value should have no effect on the
#correctness of the scripts. This was not the case. Setting the
#header "content-length" and enabling zlib.output_compression was
#a recipe for infringing section 4.4 of RFC 2616.
2010-10-26 02:16:21 +00:00
Gustavo André dos Santos Lopes
e1aa908468 - Implemented FR #50692, not uploaded files don't count towards
max_file_uploads limit.
- As a side improvement, temporary files are not opened for
  empty uploads and, in debug mode, 0-length uploads.
2010-10-04 01:27:33 +00:00
Felipe Pena
42a57f7656 - Fix tests 2010-06-16 02:14:32 +00:00
Michael Wallner
11d24c1593 * implement new output API, fixing some bugs and implementing some feature
requests--let's see what I can dig out of the bugtracker for NEWS--
  and while crossing the road:
   * implemented new zlib API
   * fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?)

Thanks to Jani and Felipe for pioneering.
2010-05-31 10:29:43 +00:00
Ilia Alshanetsky
16c90b0a2d Fixed test 2010-05-26 11:00:05 +00:00
Christopher Jones
ec93c50c3f Errors using reserved words as methods 2010-05-12 21:34:32 +00:00
Kalle Sommer Nielsen
9a38f301d6 Remove highlight.bg, it was removed in the old trunk and its not referenced in zend_highlight.c, meaning its not even implemented correctly in 5.3. 2010-04-21 21:56:24 +00:00
Kalle Sommer Nielsen
febee11285 Removed register_globals 2010-04-21 01:27:22 +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
Jani Taskinen
f9843495d1 - Fixed tests 2010-02-13 01:08:04 +00:00
Jani Taskinen
b9ac76c51c - Fix test 2009-12-11 15:38:15 +00:00
Jani Taskinen
35a4d5831b Fix test 2009-12-11 10:55:56 +00:00
Felipe Pena
8afad00a16 - Fixed tests 2009-12-04 11:32:39 +00:00
Jani Taskinen
c4d350632b - Use correct revision 2009-11-28 00:47:42 +00:00
Jani Taskinen
e8e213ca01 - No dots here 2009-11-28 00:35:56 +00:00
Dmitry Stogov
7bfe056174 Fixed tests 2009-09-21 09:52:19 +00:00
Zoe Slattery
6a22ec3eda More tests from 2009 testfest 2009-08-30 09:30:13 +00:00
Zoe Slattery
1c98e49afd Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Jani Taskinen
ee992d9ff7 - Fix tests .oO(why are there so many things broken in this branch..?) 2009-07-25 00:43:42 +00:00
Patrick Allaert
9b9363af5b MFH: The exact error message might differ (it's "Not owner" on Solaris) (r265951) 2009-07-22 12:20:56 +00:00
Zoe Slattery
9ff94c82df Remove empty sections. Fix bad use of --SKIP-- 2009-07-21 14:02:24 +00:00
Zoe Slattery
d09ab2ab42 Removing unnecessary SKIPIF sections 2009-07-18 13:46:08 +00:00
andy wharmby
ee726e4497 New lang tests. 2009-06-21 17:42:15 +00:00
andy wharmby
1e119743a5 Backport ob test to php 5.2 and 53. 2009-06-18 21:03:00 +00:00
andy wharmby
e5b5f13b79 New test for standard object compare handler. Tested on Windows, Linux and Linux 64 2009-06-17 19:15:19 +00:00
andy wharmby
fb3132f502 New foreach tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-17 19:07:17 +00:00
Robin Fernandes
73cd7e83ee Additional class related tests. 2009-06-17 10:38:25 +00:00
andy wharmby
fcbfe08d60 New test for bitwise operators. Tested on Linux 64 bit 2009-06-15 17:38:44 +00:00
andy wharmby
d8ce08a24b Move tests to correct directory 2009-06-15 17:34:40 +00:00
andy wharmby
3fd133bcf3 Backport ob test to php 5.2 and 53. 2009-06-14 16:47:11 +00:00
andy wharmby
1888c718cb New foreach tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-14 14:17:43 +00:00
Robert Nicholson
e592b4fd15 New tests for operators. These tests were auto generated to verify correctness for a number of significant values. The work was done by Dave Kelsey. 2009-06-08 11:59:32 +00:00
Robert Nicholson
176012df22 New tests for foreach loops. These were written by another member of the Projectzero team. 2009-06-07 21:03:48 +00:00
Matt Wilmas
2462fce244 MFH: Changed error messages to use "cannot" instead of "can not" (meaning "also can") 2009-06-07 15:46:54 +00:00
Zoe Slattery
102f76b323 Engine execution order tests 2009-06-01 13:01:04 +00:00
Etienne Kneuss
61bbd8af75 MFH: Add test for the timeout inside shutdown function 2009-05-31 21:32:42 +00:00
Zoe Slattery
e660f91c26 Engine execution order tests 2009-05-29 07:52:04 +00:00
Robert Nicholson
1d4da4fd0c Language Tests: returnByReference 2009-05-27 22:34:25 +00:00
Jani Taskinen
782644535f MFH 2009-05-07 13:47:43 +00:00
Jani Taskinen
da7302f792 MFH 2009-05-07 13:44:23 +00:00
Jani Taskinen
996eab8983 - Fixed ini deprecation message issues in tests.
# CGI headers are stripped and the error ends up there with CGI..
2009-05-06 20:32:00 +00:00
Kalle Sommer Nielsen
5a6d3cc42b Added E_DEPRECATED startup notice (5.3 only) 2009-05-04 21:18:22 +00:00
Felipe Pena
13b1607886 - Fix test 2009-04-28 23:46:27 +00:00
Antony Dovgal
53990b2bf3 fix test 2009-04-28 10:30:56 +00:00
Sebastian Schürmann
7942cd2c3c - Initial commit 2009-04-25 11:33:26 +00:00
Sebastian Schürmann
e2a4ef0696 - initial ci
- basic test for ini_alter
2009-04-25 11:18:15 +00:00
Hannes Magnusson
d800809da4 This is apparently fixed 2009-04-06 13:16:05 +00:00
David Coallier
2e5f11b841 - Fixed bug #46897: ob_flush() should fail to flush unerasable buffers
- Added test for bug46897
- A memleak has been identified while fixing this bug but the changes
  made by this commit do not affect ob_get_clean where the memleak (which
  is fixed in HEAD with the new handler) resides.
- [DOC] New noticed is outputted in ob_flush when the buffer is unerasable
2009-02-13 11:48:17 +00:00
Dave Kelsey
aa3e1f6158 fixed subtle bugs regarding attempting to chdir, plus cleanup issues. improved tempnam test, removed hardcoded line number. tested on windows, linux and linux 64bit. 2009-01-22 07:56:56 +00:00
Felipe Pena
51b05cd54d - Fixed tests 2009-01-10 17:01:00 +00:00
Robin Fernandes
bd7f18ab4f Additional output buffering tests. 2008-12-18 15:20:07 +00:00
Stefan Esser
1940a3aa91 Added test for magic_quotes_gpc 2008-12-11 13:05:53 +00:00
Arnaud Le Blanc
f5b2818225 MFH: fixed test 2008-12-09 22:53:42 +00:00
Jani Taskinen
e967b0fec9 MFH:- Better descriptions for these tests 2008-12-09 16:05:49 +00:00
Jani Taskinen
f2c711b132 MFH: fix tests 2008-12-09 15:44:39 +00:00
Scott MacVicar
d8edbd2729 Add test for the recent magic_quotes_gpc regression. 2008-12-09 01:47:57 +00:00
Robin Fernandes
2057a9a3f9 Add some class related tests, fix hard-coded object ID in serialize_001.phpt. 2008-12-05 22:12:07 +00:00
Ant Phillips
775389cd1d Language tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-28 10:41:19 +00:00
Sean Coates
4e3929d278 add test for ArrayObject acting as array (for 5.3) 2008-11-10 19:01:35 +00:00
Hannes Magnusson
5668f32b68 MFH: Improve test and fix skipif 2008-10-27 14:25:33 +00:00
Felipe Pena
8502d0b7a6 - Fixed test 2008-10-26 23:00:35 +00:00
Arnaud Le Blanc
c98e28795f Fixed #46313 (Magic quotes broke $_FILES)
# magic_quotes_gpc was disabled during registration of $_FILES["x"]["tmp_name"]
# and $GLOBALS["x"] (which is tmp_name with register_globals enabled). This
# caused "x" to not be escaped so there was 2 different keys for the same file
# in $_FILES, one with tmp_name and the other without.
# All other variables (name, size, etc) are registered with magic_quotes_gpc
# untouched, both in $_FILES and $GLOBALS and I did not found a reason for
# disabling it for tmp_name.
2008-10-20 17:09:10 +00:00
Arnaud Le Blanc
49abf21fea MFH: Fix test 2008-09-10 11:12:25 +00:00
Arnaud Le Blanc
0dac02dac2 MFH: Added tests for rfc1867 post handler 2008-09-08 09:25:07 +00:00
Johannes Schlüter
27637afb90 - MFH: The exact error message might differ (it's "Not owner" on Solaris) 2008-09-07 22:34:40 +00:00
Dmitry Stogov
d5bba04ac5 Fixed Bug #43958 (class name added into the error message) 2008-09-02 09:45:49 +00:00
Arnaud Le Blanc
f59fbc3755 MFH: Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit). 2008-08-18 04:08:17 +00:00
Jani Taskinen
9c3cc1f061 MFH:fix test 2008-08-14 21:54:01 +00:00
Arnaud Le Blanc
de24949cce MFH: Check the relevant path for open_basedir in symlink() 2008-08-11 15:30:44 +00:00
Dmitry Stogov
478acfd8b4 . Added support for using static HEREDOCs to initialize static variables and class members or constants. (Matt)
. Improved syntax highlighting and consistency for variables in double-quoted strings and literal text in HEREDOCs and backticks. (Matt)
. Optimized interpolated strings to use one less opcode. (Matt)
2008-07-26 15:30:28 +00:00
Hannes Magnusson
ee40f557a7 Fix tests (patch by Lars) 2008-07-21 12:23:38 +00:00
Lars Strojny
742d0ad166 Reenabling the test but removing the test cases for old_function as the alternative syntaxes are still there 2008-07-15 08:34:18 +00:00
Nuno Lopes
29e7475124 add more tests for the parser. currently both fail 2008-07-08 14:38:31 +00:00
Nuno Lopes
ea11f6df43 fix last part of bug #44654 2008-07-06 16:20:51 +00:00
Nuno Lopes
671caa1d5d add test for #-style comments. passes fine on both 5.2 and 5.3 2008-07-06 15:40:11 +00:00
Antony Dovgal
47bce7e311 MFH 2008-06-11 22:36:28 +00:00
Dmitry Stogov
f8c6965075 Fixed test 2008-06-11 06:30:09 +00:00
Antony Dovgal
db8a24d15a fix test 2008-06-09 09:26:03 +00:00
Rob Richards
604bfe4c0b MFH: fix test 2008-06-05 08:29:29 +00:00
Felipe Pena
402fb5285d - MFH: Fixed bug #44769 (declaring private magic methods should throw error) 2008-06-03 14:07:15 +00:00
Ilia Alshanetsky
59ba4fcc96 Added missing INI handler 2008-05-18 14:35:13 +00:00
Ant Phillips
863d975196 Collect all the open_basedir security tests into one place 2008-05-09 08:39:44 +00:00
Steve Seear
801c795208 Adding language tests. 2008-03-19 18:06:24 +00:00
Steve Seear
6e361fa7db Added some class tests; Replaced some hardcoded instance ids with %d. 2008-03-19 17:56:10 +00:00
Antony Dovgal
0ee45c4711 fix tests 2008-03-17 14:59:23 +00:00
David Coallier
e506d59a0e - Ok to fail on OSX, adjusted bug, patch from scoates 2008-03-08 18:50:14 +00:00
Felipe Pena
c7cb8551fe Fix tests (removed space on error message "Undefined index: ...") 2008-03-08 12:01:53 +00:00
Robin Fernandes
ee0f7bc0ac Add new tests for class/object functions and features. 2008-03-06 11:02:37 +00:00
Dmitry Stogov
4de15df711 Fixed wrong result of cascading assignment to string offset 2008-03-04 10:07:17 +00:00
Robin Fernandes
0455ccb805 Remove inconsistent behaviour when a protected static prop is overridden by public static prop (details: http://turl.ca/phhhf ). 2008-03-03 15:07:04 +00:00
Felipe Pena
7cf6a28335 Fixed tests (new E_ALL value) 2008-02-24 12:18:07 +00:00
Marcus Boerger
d3e5026564 - MFH Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
[DOC] Finally added deprecation messages
2008-02-23 17:06:22 +00:00
Nuno Lopes
38149b6207 add new test to test function with many arguments (i.e. test the new stack implementation)
this increases the converage of zend_execute.h by 18%
2008-02-08 13:49:27 +00:00
Marcus Boerger
2cc49ecfb2 - Only one line heading 2008-02-03 13:32:07 +00:00