Commit Graph

1716 Commits

Author SHA1 Message Date
Ant Phillips
495ed877fc open_basedir tests for directory functions 2008-05-01 12:36:46 +00:00
Ant Phillips
98e6f9f954 open_basedir tests for directory functions 2008-05-01 11:46:18 +00:00
Ant Phillips
90c2cd0c37 Break up complicated rename tests into some smaller more consumable chunks 2008-04-30 13:53:52 +00:00
Jani Taskinen
69e6d23ec5 - Fix test even if safe_mode is forced to be "On" in the binary 2008-04-28 12:30:24 +00:00
Ant Phillips
c173b0454c Extra open_basedir tests 2008-04-24 16:40:54 +00:00
Ant Phillips
2667f76d7b Allow for chmod() to fail on symbolic links 2008-04-24 13:58:26 +00:00
Pierre Joye
9fecb8fa60 - MFH: improve test and remove files on exit 2008-04-24 08:45:35 +00:00
Dmitry Stogov
1303c45e02 Fixed bug #44805 (rename() function is not portable to Windows). (Pierre) 2008-04-24 07:45:01 +00:00
Ant Phillips
9ae3ae064f open_basedir tests for file system functions (v5.2, 5.3 and 6.0 branches) 2008-04-23 14:10:15 +00:00
Ilia Alshanetsky
f0563a2068 Fixed test 2008-04-14 23:17:30 +00:00
Hannes Magnusson
f0b7073308 [DOC] Remove config_get_hash() & and add new boolean parameter to ini_get_all()
to list ini entries key=>current_value like config_get_hash() did.
2008-04-14 15:32:42 +00:00
Hannes Magnusson
5fcd85240b Fixed bug#44712 (stream_context_set_params segfaults on invalid arguments) 2008-04-13 22:35:27 +00:00
Greg Beaver
217b911d0e fix test 2008-04-13 21:27:18 +00:00
Felipe Pena
fce4f9600e MFB: Fixed bug #44703 (htmlspecialchars() does not detect bad character set argument) 2008-04-11 19:06:12 +00:00
Robin Fernandes
ad534b35c1 Fix test parse_url_variation_002.phpt for 64bit platforms. 2008-04-11 14:35:06 +00:00
Robin Fernandes
bcd9a07d6c Adding some tests for ereg and url functions. 2008-04-11 08:57:17 +00:00
Nuno Lopes
93c676992d add SKIPIF
# Patch by Christian Hoffmann
2008-04-10 19:13:59 +00:00
Jani Taskinen
a27b306d25 MFH: Missing basic single ini file test (bug #44574) 2008-04-08 12:33:54 +00:00
Jani Taskinen
04ea6d79d5 MFH:- Fixed bug #44667 (proc_open does not handle pipes with the mode "wb" correctly) 2008-04-08 08:42:24 +00:00
Etienne Kneuss
a1e0945143 MFH: Implement forward_static_call(_array) to complete LSB. Patch by Mike Lively 2008-04-07 10:44:59 +00:00
Jani Taskinen
afa42ce453 - Fix test (readdir() does not sort the results..) 2008-03-27 10:45:03 +00:00
Dmitry Stogov
862f9ee3d2 Added ability to use stream wrappers in include_path 2008-03-27 10:33:40 +00:00
Steve Seear
073b6eac48 Adding tests for gethostbyaddr() and gethostbynamel() 2008-03-26 18:19:31 +00:00
Ilia Alshanetsky
16f6918e0f Fixed test on systems where . and .. order not guaranteed 2008-03-24 18:33:54 +00:00
Dmitry Stogov
2790eebdbc Fixed tests 2008-03-24 10:09:41 +00:00
Dmitry Stogov
0ec1e42e52 Fixed tests (file order is undefined, so we need to sort() them) 2008-03-24 09:00:33 +00:00
Marcus Boerger
736df2fec1 - MFH Add new test 2008-03-21 15:21:38 +00:00
Antony Dovgal
b2af8cac94 MFH 2008-03-20 12:14:06 +00:00
Antony Dovgal
dff9a32350 MFH: fix tests 2008-03-20 08:35:44 +00:00
David Soria Parra
6d66530ae9 MFH: Fix bug #44487 (call_user_method_array issues a warning when throwing an exception). 2008-03-20 00:52:46 +00:00
Steve Seear
5e0afe8eb9 Adding streams tests 2008-03-19 17:38:23 +00:00
Steve Seear
9071a478b5 Adding filesystem tests 2008-03-19 17:25:47 +00:00
Antony Dovgal
8b5524e2fe fix test 2008-03-19 12:36:09 +00:00
Felipe Pena
47badbe86b Remove accidental change 2008-03-19 03:15:56 +00:00
Felipe Pena
17c7463331 MFB: Fixed bug #43614 (incorrect processing of numerical string keys of array in arbitrary serialized data) 2008-03-19 03:05:35 +00:00
Robin Fernandes
bd9e026951 Adding more tests for serialize() and unserialize(). 2008-03-18 15:11:48 +00:00
Nuno Lopes
25e6cd1a38 remove duplicated sections 2008-03-17 17:19:48 +00:00
Antony Dovgal
74bfe1c3fa fix test 2008-03-17 15:35:32 +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
766f62f026 Add SKIPIF (32bit platform only) 2008-03-14 23:15:47 +00:00
Felipe Pena
eea093b47c MFB: Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes again...) 2008-03-12 19:18:42 +00:00
Felipe Pena
e0de453954 Fixed bug #44394 (Last two bytes missing from output) 2008-03-12 02:40:57 +00:00
Josie Messa
e897db28bf - Fix test 2008-03-11 10:17:51 +00:00
Josie Messa
f5d9a8ea42 - Added extra whitespace around error messages in expected output 2008-03-11 10:00:26 +00:00
Felipe Pena
1db52c1c5f Fix tests (new error message for void parameters) 2008-03-10 23:14:11 +00:00
Felipe Pena
9324869ef5 Fix tests (new error message for void parameters) 2008-03-10 22:17:59 +00:00
Josie Messa
705435eb9e - New tests for getcwd() function 2008-03-10 15:22:47 +00:00
Josie Messa
1d4f18734f - Modified expected output to allow tests to work on all platforms 2008-03-10 15:10:32 +00:00
Josie Messa
794955ce85 - New tests for scandir() function 2008-03-10 14:12:41 +00:00
Etienne Kneuss
e9a6f0f24a MFH: User error handlers no longer catch supressed errors 2008-03-08 22:12:32 +00:00
Greg Beaver
2801e87a55 fix tests if allow_url_fopen is disabled in php.ini 2008-03-08 19:12:34 +00:00
Greg Beaver
b6d53c51e8 fix test if allow_url_fopen is disabled in php.ini 2008-03-08 19:08:25 +00:00
Josie Messa
8e3192aed8 - Tests awaiting fix of bug #44246 2008-03-07 16:20:16 +00:00
Josie Messa
d19f3990e3 - New tests for rewinddir() function 2008-03-07 16:12:03 +00:00
Josie Messa
37ca3ca2b5 - New tests for closedir() function 2008-03-07 16:00:24 +00:00
Greg Beaver
1dac2d21a8 test was failing because I had a file named 1 in the checkout directory
# note to tests writers: never assume anything about directory
# contents.
2008-03-07 04:14:53 +00:00
Robin Fernandes
ee0f7bc0ac Add new tests for class/object functions and features. 2008-03-06 11:02:37 +00:00
Jani Taskinen
33af2eb4dc - Fix tests (allow_call_time_pass_reference might be off for properly configured sites.. :) 2008-03-05 15:37:48 +00:00
Jani Taskinen
f6406ae6e9 - Fix test when register_globals=On in php.ini 2008-03-05 12:12:09 +00:00
Josie Messa
08d2ac2ea6 - new tests for readdir() function 2008-03-04 17:09:24 +00:00
Antony Dovgal
14ec6f623b MFH 2008-03-04 11:16:31 +00:00
Josie Messa
99defe9f52 - new tests for opendir() function 2008-03-04 10:40:36 +00:00
Felipe Pena
3f40f96c50 Fixed tests 2008-02-26 13:38:43 +00:00
Josie Messa
40a4cf4fea - committed chdir() tests in wrong directory 2008-02-26 09:34:29 +00:00
Josie Messa
f13562aa66 - New tests for chdir() function 2008-02-26 09:34:28 +00:00
Felipe Pena
a9f5ad7e87 MFB: Fixed bug #44242 (metaphone('CMXFXM') crashes PHP) 2008-02-25 22:54:57 +00:00
Steve Seear
ad3af52712 Replace hardcoded resource ids with %d in fgetc() tests. 2008-02-25 10:31:17 +00:00
Felipe Pena
afd2623ee7 Fixed test 2008-02-24 11:27:26 +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
Robert Nicholson
6ca51e664d - bug #44212 array_diff_assoc_error.phpt should expect warnings for missing parameters 2008-02-22 12:14:58 +00:00
Josie Messa
116ae80376 - New tests for reset() function 2008-02-22 09:19:56 +00:00
Felipe Pena
d44f4cb17b Fix test (new parameter parsing) 2008-02-21 17:47:33 +00:00
Josie Messa
2151ce6ba9 - New tests for end() and next() function 2008-02-21 16:39:02 +00:00
Josie Messa
e864044411 - New tests for key() function 2008-02-21 14:34:41 +00:00
Josie Messa
21324e9a69 - New tests for current() function 2008-02-20 14:20:31 +00:00
Josie Messa
f4dc0f293d - New tests for each() function 2008-02-19 17:02:27 +00:00
Josie Messa
23e18f966b - New tests for natcasesort() function 2008-02-19 10:53:10 +00:00
Felipe Pena
41c95c7d15 Fix the fix 2008-02-17 01:11:04 +00:00
Felipe Pena
8d914d4bcd Fix test 2008-02-17 01:03:19 +00:00
Felipe Pena
f3b2a87691 Fix test 2008-02-16 16:35:39 +00:00
Josie Messa
73004ae4b0 - New tests for rsort() function 2008-02-15 16:06:38 +00:00
Antony Dovgal
2fb4ea9c4f MFH 2008-02-15 09:35:53 +00:00
Josie Messa
0430464b11 - New tests for count() function 2008-02-14 16:49:58 +00:00
Ilia Alshanetsky
e2c5bdae51 Fixed test on 64bit machines 2008-02-14 16:29:45 +00:00
Josie Messa
d972e43b1d - New tests for array_values() function 2008-02-14 14:22:43 +00:00
Felipe Pena
fcb243f6e7 New test 2008-02-14 13:50:36 +00:00
Josie Messa
786746cb07 - New tests for array_slice() function 2008-02-14 11:17:36 +00:00
Etienne Kneuss
12bd169f24 MFH: Fix inconcistencies between substr and substr_compare 2008-02-13 17:02:16 +00:00
Josie Messa
a74685ea0d - New tests for array_shift() function 2008-02-13 16:42:17 +00:00
Josie Messa
f32e65988c - New tests for array_push() function 2008-02-13 16:12:48 +00:00
Josie Messa
4546084866 - committing tests for array_merge() function 2008-02-13 14:20:58 +00:00
Josie Messa
6b522fdd50 - committing tests for array_key_exists() function 2008-02-13 13:16:21 +00:00
Hannes Magnusson
59498c8c5a Fix test 2008-02-12 20:05:29 +00:00
Josie Messa
b46602c028 - committing array_change_key_case variation tests 2008-02-12 17:44:50 +00:00
Zoe Slattery
5932b49990 Fixing 44092 2008-02-12 07:15:40 +00:00
Felipe Pena
d4dbddd2be New test 2008-02-12 01:19:48 +00:00
Ilia Alshanetsky
70e913bdad Fixed test on 64bit machines 2008-02-11 16:02:46 +00:00
Johannes Schlüter
5054799bd2 MFH: The exact message differs on different systems 2008-02-10 23:37:03 +00:00
Jani Taskinen
7e00a410b3 fix test 2008-02-07 13:44:50 +00:00
Marcus Boerger
b7b41a6612 - MFH Fix missing check and tests 2008-02-06 20:40:19 +00:00
Zoe Slattery
a6fe8d8ca7 Fixing 32 bit specific 2008-02-06 09:36:58 +00:00
Zoe Slattery
a111cabedc Tests for assorted Maths functions 2008-02-06 08:44:24 +00:00
Marcus Boerger
f23526528e - MFH Add new test 2008-02-05 19:08:42 +00:00
Robert Nicholson
178839f667 - fix arsort_variation3.phpt which was missing its EXPECT section 2008-02-05 11:19:17 +00:00
Jani Taskinen
8a70a554d6 MFH: - Fixed bugs #43915, #43923 and #44019, a tiny performance issue fixed too 2008-02-04 20:45:20 +00:00
Robert Nicholson
a9418da4fc - added some new tests for arsort 2008-02-04 00:05:24 +00:00
Marcus Boerger
1cc463b88a - Fix tests 2008-02-02 15:19:06 +00:00
Marcus Boerger
02b13cdd8a - Fix the expectations. Tests still fails because of something else. 2008-02-02 14:37:29 +00:00
Marcus Boerger
30eb2dcabf - MFH Fix tests 2008-02-02 13:33:41 +00:00
Rasmus Lerdorf
0530f9e327 Countable requires SPL 2008-02-02 09:53:44 +00:00
Felipe Pena
5b0a79cfba Fix tests (new error message) 2008-02-02 03:15:46 +00:00
Felipe Pena
e88c5b082b Fix tests (new error message) 2008-02-02 03:00:57 +00:00
Felipe Pena
d34f0a08f8 Fix tests (new error message) 2008-02-02 02:45:44 +00:00
Felipe Pena
8241db1b21 Fix tests (new error message) 2008-02-02 02:36:08 +00:00
Felipe Pena
0588ddce2a Fix tests (new error message) 2008-02-02 02:29:27 +00:00
Rasmus Lerdorf
c075476810 Another batch of fixed tests 2008-02-02 01:51:17 +00:00
Felipe Pena
17e1a396c1 Ops, fix the fix 2008-02-02 01:48:29 +00:00
Felipe Pena
315f534c02 Fix tests (new error message) 2008-02-02 01:40:45 +00:00
Rasmus Lerdorf
54e98bbb97 Fix a few more tests 2008-02-02 01:31:18 +00:00
Rasmus Lerdorf
1ee260b121 Fix test and convert to UNIX line endings 2008-02-02 01:01:04 +00:00
Rasmus Lerdorf
b9954bef45 Fix some tests 2008-02-02 00:29:17 +00:00
Antony Dovgal
b4b0816578 fix test, add 64bit version 2008-02-01 23:19:16 +00:00
Zoe Slattery
84be2df52a A few new tests for math functions - Note the "constants" test will fail on Windows - Bug 42143. 2008-02-01 17:21:18 +00:00
Felipe Pena
8c76a00f93 New tests and fix tests (new error message) 2008-02-01 13:41:19 +00:00
Rasmus Lerdorf
3275f1b057 There are plenty of other non-Windows operating systems 2008-01-31 18:31:54 +00:00
Zoe Slattery
1e29793386 Removing superfluous --INI-- section 2008-01-30 17:50:38 +00:00
Dmitry Stogov
382f1dddfa Fixed bug #43505 (Assign by reference bug) 2008-01-29 10:45:07 +00:00
Robert Nicholson
1d6ac15b3d - MFH compact_variation1.phpt - fix for bug #29044 2008-01-29 08:50:43 +00:00
Antony Dovgal
89273e1482 add test 2008-01-28 23:07:45 +00:00
Nuno Lopes
500ee29e6c be more strict in the skipif 2008-01-27 16:54:22 +00:00
Nuno Lopes
d16f4cad0a fix a bunch of SKIPIF (check for non available locales) 2008-01-27 16:45:43 +00:00
Robert Nicholson
be2ae4e76f - Add a basic test for array_shuffle() 2008-01-25 00:32:22 +00:00
Robert Nicholson
3b8256dce4 - add some basic tests for array diff and intersection functions 2008-01-25 00:13:49 +00:00
Robert Nicholson
c09d8d931f - New tests for compact() 2008-01-24 14:51:20 +00:00
Antony Dovgal
67c8d8d95e MFH: fix #43559 (array_merge_recursive() doesn't behave as expected with duplicate NULL values)
patch by Felipe
2008-01-23 12:09:52 +00:00
Antony Dovgal
8d2ad5c12b add new test 2008-01-22 15:42:36 +00:00
David Coallier
a3c09d611c - MFH (lcfirst())
- Initial test for lcfirst
2008-01-19 19:27:22 +00:00
David Coallier
516a9c15d6 - Making sure the tests are not failing after modifications to the new
zend-parsing-parameters in ucfirst()
2008-01-16 12:56:20 +00:00
Brian Shire
82874e094b MFH: Fix bug #42850 array_walk_recursive() leaves references, refix bug #34982 2008-01-14 22:09:52 +00:00
Greg Beaver
7c1952c863 MFH: clarify error message on why opening a stream wrapper failed for allow_url_include/allow_url_fopen, add test for allow_url_fopen 2008-01-12 15:50:57 +00:00
Dmitry Stogov
ed8e2fa031 Added missing warning message 2008-01-10 09:38:23 +00:00
Raghubansh Kumar
0b26f6fe7e New testcases for array_diff() function 2008-01-04 14:02:27 +00:00
Raghubansh Kumar
7dc36cff7c New testcases for array_diff_assoc() function 2008-01-04 14:01:45 +00:00
Raghubansh Kumar
59558b73cb this testcase has been split into many smaller testcases and committed. 2008-01-03 09:46:00 +00:00
Raghubansh Kumar
4cadbee716 new smaller testcases for array_map() function 2008-01-03 09:43:45 +00:00
Hannes Magnusson
b9c22f2b1e MFB5.2: Fix test 2007-12-29 11:38:24 +00:00
Antony Dovgal
611bd33689 fix test 2007-12-29 10:32:52 +00:00
Dmitry Stogov
0d88ad9b96 Added 64-bit tests (Serg) 2007-12-27 11:39:01 +00:00
Raghubansh Kumar
a47bf2d36a fix test : do not run when run as root 2007-12-25 16:15:34 +00:00
Dmitry Stogov
ed5a424b4f Additional fix for bug #42868 2007-12-24 18:09:50 +00:00
Raghubansh Kumar
7c75fe7b8c new testcases for dir() function 2007-12-24 05:19:42 +00:00
Raghubansh Kumar
8204525427 fix tests 2007-12-24 04:27:55 +00:00
Dmitry Stogov
d27e5cd152 Fixed test 2007-12-21 09:40:27 +00:00
Raghubansh Kumar
e15fb3853a fix tests 2007-12-20 17:27:13 +00:00
Robert Nicholson
9e8f7a00e3 new tests for array_map usage variations - string keys and references 2007-12-20 11:18:34 +00:00
Raghubansh Kumar
1ccf0ba714 fix test 2007-12-19 10:39:10 +00:00
Derick Rethans
9541a66cb8 - MFH: Fixed var_export() for array keys
- MFH: Fixed broken explode() test
2007-12-18 10:53:39 +00:00
Raghubansh Kumar
f5f92c1940 fix tests 2007-12-17 13:02:27 +00:00
Dmitry Stogov
2b981769a3 Fixed bug #42868 (Floats cast to integer produce unpredicatable results). (Zoe Slattery) 2007-12-17 10:02:13 +00:00
Ilia Alshanetsky
b0d7f9c3ee WS 2007-12-16 17:28:57 +00:00
Dmitry Stogov
d8afc7ad37 Fixed test 2007-12-13 07:57:39 +00:00
Ilia Alshanetsky
2199624ad1 WS 2007-12-11 18:30:01 +00:00
Raghubansh Kumar
b1f1baba4d New testcases for array_walk_recursive() function 2007-12-11 10:45:50 +00:00
Raghubansh Kumar
b2def646b6 New testcases for array_walk() function 2007-12-11 10:45:25 +00:00
Jani Taskinen
9a4de086cb MFH: - Fixed bug #43541 2007-12-11 09:47:21 +00:00
Raghubansh Kumar
5ce6116777 New testcases for array_merge_recursive() function 2007-12-11 09:07:41 +00:00
Ilia Alshanetsky
b9e4413962 Fixed bug #43522 (stream_get_line() eats additional characters) 2007-12-10 14:16:58 +00:00
Derick Rethans
fdafd5cf81 - MFH: Fixed Bug #42272 (var_export() incorrectly escapes char(0)). 2007-12-09 16:54:52 +00:00
Raghubansh Kumar
ccb0f19d1c new testcases for array_unique() function 2007-12-09 14:41:10 +00:00
Ilia Alshanetsky
2352647f1f WS 2007-12-06 15:23:36 +00:00
Ilia Alshanetsky
98bfa2ac74 Fixed bug #43495 (array_merge_recursive() crashes with recursive arrays) 2007-12-05 19:55:31 +00:00
Raghubansh Kumar
b70d00a648 fix tests : better float values 2007-12-03 13:03:31 +00:00
Raghubansh Kumar
6121702d04 New testcases for array_pad() function 2007-12-03 12:51:56 +00:00
Raghubansh Kumar
fdae976d58 fix tests: better float values 2007-12-03 12:02:29 +00:00
Raghubansh Kumar
1eae97fbb9 New testcases for array_chunk() function 2007-12-03 03:54:11 +00:00
Derick Rethans
2ac81c2e6e - MFH: Fixed a segfault when reading from an HTTP stream. 2007-11-29 12:28:15 +00:00
Ilia Alshanetsky
f6853cccbd Fixed tests 2007-11-28 14:49:20 +00:00
Raghubansh Kumar
504e223d83 Marked with defect 2007-11-28 03:44:52 +00:00
Raghubansh Kumar
d5acf6ad81 New testcases for array_combine() function 2007-11-27 15:17:07 +00:00
Raghubansh Kumar
73f3139119 New testcases for array_sum() function 2007-11-27 14:59:30 +00:00
Derick Rethans
a6fbf1b083 - MFH: Fixed weights array, which was broken with:
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dns.c?r1=1.80&r2=1.81
  and merged to head with:
  http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dns.c?r1=1.70.2.7.2.5&r2=1.70.2.7.2.5.2.1
2007-11-22 10:20:09 +00:00
Jani Taskinen
685e5d064a MFH: chown bug test 2007-11-21 11:32:16 +00:00
Hannes Magnusson
024fc2c77a MFH: - Add support for optional values
MFH: - Add support for = as seperator
2007-11-21 10:24:22 +00:00
Johannes Schlüter
cbf466a953 MFH: Add stream_supports_lock() function (Benjamin Schulz) 2007-11-20 22:17:01 +00:00
Raghubansh Kumar
13357b0188 New testcases for sizeof() function 2007-11-16 17:54:31 +00:00
Raghubansh Kumar
3f8200fc79 fix tests: removed values that generate diff. output on Linux64 2007-11-16 17:06:43 +00:00
Dmitry Stogov
117a6d77e1 Fixed crash (Serg) 2007-11-16 14:24:08 +00:00
Antony Dovgal
c199b2f598 MFH: fix test 2007-11-15 22:14:15 +00:00
Hannes Magnusson
0aae13f9d2 MFH: Allow numeric options & tests 2007-11-15 13:13:21 +00:00
Raghubansh Kumar
b65ffa0876 New testcases for uasort() function 2007-11-14 17:19:45 +00:00
Raghubansh Kumar
0759fbd8e5 fix test for linux64 - choosing smaller float values 2007-11-14 16:31:45 +00:00
Derick Rethans
7fa84a1260 - MFH: Add a testcase for chgrp() with a NULL as group name, which crashes ATM. 2007-11-14 15:51:56 +00:00
Hannes Magnusson
c692127ff2 Fix test (getopt() works on windows now) 2007-11-14 15:22:11 +00:00
Hannes Magnusson
35ba8020cd Fixed bug#43293 (Multiple segfaults in getopt()) 2007-11-14 14:42:25 +00:00
Jani Taskinen
ea05938263 fix test 2007-11-14 14:08:51 +00:00
Dmitry Stogov
947e73b385 Fixed bug #43248 (backward compatibility break in realpath()) 2007-11-13 09:47:06 +00:00
Raghubansh Kumar
ab9db3e773 New testcases for ksort() function 2007-11-12 15:53:20 +00:00
Raghubansh Kumar
42de41ad4a New testcases for krsort() function 2007-11-12 15:52:25 +00:00
Raghubansh Kumar
4b731b1af0 fix tests 2007-11-09 12:02:42 +00:00
Raghubansh Kumar
7ab56f7a43 fix test : better float values 2007-11-09 08:52:27 +00:00
Raghubansh Kumar
54f6189445 fix tests: better float values 2007-11-09 07:19:00 +00:00
Raghubansh Kumar
640f060335 missing testcases - sprintf() function 2007-11-09 04:20:10 +00:00
Antony Dovgal
c8494a81a7 MFH 2007-11-08 13:34:41 +00:00
Dmitry Stogov
1ab7f533ff Fixed bug #43216 (stream_is_local() returns false on "file://") 2007-11-08 13:29:25 +00:00
Antony Dovgal
6aeaa2105a fix tests 2007-11-08 11:19:32 +00:00
Antony Dovgal
91c725bd22 fix test 2007-11-08 10:29:52 +00:00
Antony Dovgal
7f58a508d6 MFH: fix test 2007-11-08 10:20:01 +00:00
Antony Dovgal
f6be2ee565 MFH: fix test 2007-11-08 10:13:33 +00:00
Antony Dovgal
984842e321 fix test 2007-11-08 10:03:52 +00:00
Antony Dovgal
a59a7d5c3c MFH 2007-11-08 08:11:55 +00:00
Antony Dovgal
a670a61951 fix tests 2007-11-07 12:07:16 +00:00
Ilia Alshanetsky
75bbdac25d Fixed tests on 64bit machines 2007-11-07 01:42:51 +00:00
Jani Taskinen
77d2a15a97 MFH: sync 2007-11-06 17:11:57 +00:00
Jani Taskinen
88c66fe540 try #2 2007-11-06 13:43:48 +00:00
Jani Taskinen
b51e9221b1 MFH: sync 2007-11-06 13:38:15 +00:00
Jani Taskinen
7f0ad5c1e9 MFH: - Fixed bug #43196 (array_intersect_assoc() crashes with non-array input) 2007-11-06 13:26:59 +00:00
Jani Taskinen
411d34cba0 fix cleanup 2007-11-06 13:22:16 +00:00
Antony Dovgal
e6e9d845a5 MFH: fix tests, add 64bit versions 2007-11-06 12:54:28 +00:00
Marcus Boerger
6362476b20 MFH streams stuff 2007-11-06 11:02:36 +00:00
Jani Taskinen
b3a334eaf2 Fix tests (MFH) 2007-11-05 17:43:21 +00:00
Raghubansh Kumar
3374078734 New testcases for asort() function 2007-11-05 16:42:56 +00:00
Raghubansh Kumar
2a72f56b30 fix typo in title 2007-11-05 16:22:37 +00:00
Raghubansh Kumar
c9b73bf23d New testcases for sort() function 2007-11-05 15:30:49 +00:00
Raghubansh Kumar
49785e26ae New testcases for array_intersect_assoc() function 2007-11-05 14:31:40 +00:00
Jani Taskinen
c2cfed1b32 - Add missing tests from HEAD 2007-11-02 19:42:51 +00:00
Jani Taskinen
a541bb8078 - Fix tests
- Update README.PARAMETER_PARSING_API
2007-11-02 19:41:12 +00:00
Raghubansh Kumar
3fbaa4b873 fix tests: proper temp file names 2007-11-02 03:56:02 +00:00
Raghubansh Kumar
790b763be7 fix tests: proper temp file names 2007-11-02 03:14:10 +00:00
Raghubansh Kumar
4c5c88b716 fix tests: better float values 2007-11-02 03:03:26 +00:00
Jani Taskinen
20c86e5afd - Nuke crap 2007-11-01 09:28:00 +00:00
Robert Nicholson
a174f1331d update min_error and max_error testcases to take into account bug fix for bug#43125 2007-11-01 08:42:49 +00:00
Jani Taskinen
2d8dc07e3e MFH: fix typo 2007-10-31 13:39:26 +00:00
Jani Taskinen
f552f91618 MFH: - Fixed bug #43137 (rmdir() and rename() do not clear statcache) 2007-10-31 13:22:45 +00:00
Raghubansh Kumar
a2b4c29ee8 New testcases for shuffle() function 2007-10-27 12:27:49 +00:00
Raghubansh Kumar
dfbaff6539 New testcases for array_intersect() function 2007-10-27 12:15:16 +00:00
Robert Nicholson
250cee6329 Remove unneeded INI sections 2007-10-26 16:09:34 +00:00
Raghubansh Kumar
ed56c6e38c more testcases for array_unshift() function 2007-10-26 11:49:50 +00:00
Robert Nicholson
9e761076b8 new testcases for array_splice 2007-10-26 11:07:13 +00:00
Robert Nicholson
656d0e468b new testcases for max and min 2007-10-26 11:01:35 +00:00
Raghubansh Kumar
b3044c49ed more testcases for array_filter() function 2007-10-22 11:16:03 +00:00
Ilia Alshanetsky
7f32916af0 Fixed bug #42944 (test failing due to expectation that /etc/passwd has 0644
permissions).
2007-10-21 15:41:29 +00:00
Raghubansh Kumar
36ca7b94e6 New testcases for array_rand() function 2007-10-19 18:41:13 +00:00
Raghubansh Kumar
dd465b457c New testcases for array_fill() function 2007-10-19 18:31:16 +00:00
Raghubansh Kumar
63b1e9fb86 New testcases for array_filter() function 2007-10-19 18:20:02 +00:00
Raghubansh Kumar
f1187f0fca New testcases for array_unshift() function 2007-10-19 09:16:29 +00:00
Dmitry Stogov
cb0991bb85 Fixed bug #42919 (Unserializing of namespaced class object fails) 2007-10-17 10:36:33 +00:00
Raghubansh Kumar
55d0b9780f New testcases for array_flip() function 2007-10-15 06:34:35 +00:00
Raghubansh Kumar
dfae3d3f57 New testcases for array_reverse() function 2007-10-15 06:24:40 +00:00
Raghubansh Kumar
26ce8bdade fix test (temp. file name) 2007-10-11 11:52:27 +00:00
Raghubansh Kumar
1d0c11f472 New testcases for strip_tags() function 2007-10-09 12:44:45 +00:00
Raghubansh Kumar
5f24b53cc5 fix tests 2007-10-09 12:17:48 +00:00
Raghubansh Kumar
f567d4c6ad fix tests 2007-10-09 11:04:17 +00:00
Raghubansh Kumar
5e46edd6c3 fix tests 2007-10-09 06:15:39 +00:00
Raghubansh Kumar
705bda6fa6 more tests for fseek(), ftell() & rewind() for win32 2007-10-09 04:56:28 +00:00
Raghubansh Kumar
0289fd1458 fix tests 2007-10-09 04:12:16 +00:00
Raghubansh Kumar
d42d41000d fix test 2007-10-08 16:04:28 +00:00
Raghubansh Kumar
e52c923f68 fix test 2007-10-08 15:45:53 +00:00
Raghubansh Kumar
513f5e5d5f fix tests 2007-10-08 15:37:57 +00:00
Raghubansh Kumar
7ccc5eef20 New testcases for strtr() function 2007-10-08 15:21:36 +00:00
Raghubansh Kumar
f8eacb31c0 New testcases for get_html_translation_table() function 2007-10-08 15:21:13 +00:00
Raghubansh Kumar
aeeafd3b59 fix test 2007-10-08 06:22:13 +00:00
Raghubansh Kumar
9f9495a484 New testcases for setlocale() function 2007-10-05 19:32:28 +00:00
Raghubansh Kumar
a458ad89f9 New testcases for nl2br() function 2007-10-05 18:46:02 +00:00
Raghubansh Kumar
8ad09bf445 New testcases for strrpos() function 2007-10-05 18:33:24 +00:00
Raghubansh Kumar
2c63918058 New testcases for str_split() function 2007-10-05 18:18:18 +00:00
Raghubansh Kumar
805a1b9e9c New testcases for vsprintf() function 2007-10-05 18:09:31 +00:00
Jani Taskinen
aa3eee1dce MFH:- Moved the old regex functions to own extension: ereg 2007-10-05 15:00:09 +00:00
Jani Taskinen
3a5817e972 MFH: fix test 2007-10-05 14:57:28 +00:00
David Soria Parra
d4e8fa62c6 MFH: Add an escape parameter to fgetcsv to satisfy rfc4180 and bug #40501.
[DOC] 5th parameter available since PHP 5.3+
2007-10-03 10:44:32 +00:00
Stanislav Malyshev
5840ba0ffe MFB utf test 2007-10-03 05:05:37 +00:00
Antony Dovgal
b380ff014a fix test 2007-10-02 11:21:40 +00:00
Johannes Schlüter
5f15b1ef7a - Fix test 2007-10-01 15:01:47 +00:00
Jani Taskinen
2bc631fb40 MFH:- Added common getopt implementation to core.
MFH:- Added long-option feature to getopt().
MFH:- Made getopt() available on win32 systems.
MFH:  Patch by: David Soria Parra <dsp@php.net>
[DOC]: These changes will be available from 5.3+

# Note: Fixed also tests and synced basic_functions.c with HEAD.
2007-10-01 12:40:54 +00:00
Jani Taskinen
b34fcd4791 MFH: Fixed bug #42789 2007-10-01 12:05:41 +00:00
Jani Taskinen
1e5ca0a765 - Fix tests (too many dots in error messages :) 2007-09-30 21:35:52 +00:00
Antony Dovgal
cd5b16015e fix test 2007-09-30 14:40:06 +00:00
Antony Dovgal
38c37bb61f fix tests 2007-09-30 14:37:33 +00:00
Raghubansh Kumar
9645bbbbee smaller tests already exists 2007-09-29 17:19:03 +00:00
Raghubansh Kumar
1aa5830044 New testcases for strrchr() function 2007-09-29 16:59:07 +00:00
Raghubansh Kumar
efc32bacaa New testcases for stripos() function 2007-09-29 16:56:46 +00:00
Raghubansh Kumar
2a22e422ad New testcases for sprintf() function 2007-09-29 16:54:57 +00:00
Raghubansh Kumar
b9ccaf44fb New testcases for join() function 2007-09-29 16:52:54 +00:00
Raghubansh Kumar
3253c3b6dd New testcases for htmlspecialchars_decode() function 2007-09-29 16:51:42 +00:00
Raghubansh Kumar
482eabc6b6 New testcases for chunk_split() function 2007-09-29 16:49:41 +00:00
Jani Taskinen
09b6f37f20 MFH:
- Added ".htaccess" style user-defined php.ini files support for
  CGI/FastCGI.
- Added support for special [PATH=/opt/httpd/www.example.com/] sections
  in php.ini. All directives set in these sections will not be able to be
  overridden in user-defined ini-files or during runtime in the specified
  path.

- Improved php.ini handling:
  . Added better error reporting for syntax errors in php.ini files
  . Allowed "ini-variables" to be used almost everywhere ini php.ini files
  . Allowed using alphanumeric/variable indexes in "array" ini options
  . Fixed get_cfg_var() to be able to return "array" ini options

- Fixed bug #27372 (parse error loading browscap.ini at apache startup)
- Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric
  characters)
2007-09-28 02:05:10 +00:00
Raghubansh Kumar
2ff92b584e new testcases for strrev() function 2007-09-26 14:40:14 +00:00
Raghubansh Kumar
433d1a5d02 New testcases for crc32() function 2007-09-26 06:03:55 +00:00
Raghubansh Kumar
b17d0085f3 New testcases for strspn() function 2007-09-22 10:51:38 +00:00
Raghubansh Kumar
0aa09167c1 New testcases for strcspn() function 2007-09-22 10:36:15 +00:00
Raghubansh Kumar
eb3f8fda65 New testcases for strtok() function 2007-09-22 07:39:57 +00:00
Raghubansh Kumar
32b432f878 replaced by array_search_variation1.phpt, hence removed. 2007-09-22 06:58:33 +00:00
Raghubansh Kumar
12bc950491 update and split of testcases for functions array_search() and in_array() 2007-09-22 06:53:58 +00:00
Antony Dovgal
43cc8937b2 MFH: plug leak on error (coverity issue #405) 2007-09-21 13:51:49 +00:00
Stanislav Malyshev
cfd8f6d775 add test for dl() with long name 2007-09-20 18:44:24 +00:00
Jani Taskinen
c932082f7b MFH 2007-09-20 13:49:33 +00:00
Ilia Alshanetsky
84d594e4b6 Fixed test for glob() affected by previous patch 2007-09-20 13:29:04 +00:00
Raghubansh Kumar
35990e7c5b better output matching/fixes 2007-09-15 07:29:55 +00:00
Raghubansh Kumar
ec3a713fbb Removing from file dir as it was wrongly committed to this dir 2007-09-14 19:03:14 +00:00
Raghubansh Kumar
b59c171e23 New testcases for strncasecmp() 2007-09-14 19:02:07 +00:00
Raghubansh Kumar
6d12620591 New testcases for chop() 2007-09-14 18:58:02 +00:00
Raghubansh Kumar
e1a08e5d55 New testcases for wordwrap() 2007-09-14 18:53:38 +00:00
Raghubansh Kumar
4799047e07 New testcases for strncasecmp() function 2007-09-14 18:26:44 +00:00
Raghubansh Kumar
aafdc266bf New testscases for chop() function 2007-09-14 18:24:47 +00:00
Zoe Slattery
619b218e9a Changing to use %a to match recent run-tests.php patch 2007-09-14 16:28:54 +00:00
Nuno Lopes
40085b06f2 changes to run-tests.php:
- change %s to %a
- make %s = [^\r\n]+
- fix tests accordingly
2007-09-14 15:28:03 +00:00
Nuno Lopes
b121ffae92 fix expected output 2007-09-14 15:04:19 +00:00
Raghubansh Kumar
0cb6cfcd87 better comments 2007-09-14 14:31:55 +00:00
Raghubansh Kumar
f22626ba5a New testcases for wordwrap() function 2007-09-14 14:14:48 +00:00
Raghubansh Kumar
4903f48eaa fix test 2007-09-14 09:38:13 +00:00
Nuno Lopes
b0e393e543 attemp to set locale if it exists. fix skip condition 2007-09-13 19:51:34 +00:00
Nuno Lopes
e3e2a62d44 fix test expected output 2007-09-13 18:55:28 +00:00
Nuno Lopes
69fbaf7d10 fix skip reasons. the word 'skip' should be followed by a single space and doesnt need any \n at the end 2007-09-13 18:24:26 +00:00
Ilia Alshanetsky
2cfdcd265d Added a note indicating that the tests may fail to due libc implementation 2007-09-13 15:36:37 +00:00
Raghubansh Kumar
99c6da86f3 marked with Bug #42038 2007-09-12 09:47:35 +00:00
Raghubansh Kumar
5e6724b122 marked with Bug# 42638 2007-09-12 08:27:35 +00:00
Jani Taskinen
3327653e19 - Fix tests (we are not interested what the old value was for the ini option) 2007-09-11 10:23:04 +00:00
Raghubansh Kumar
b33ea59337 fix test 2007-09-11 05:21:40 +00:00
Antony Dovgal
a09eadc95b fix tests 2007-09-10 10:28:54 +00:00
Antony Dovgal
99695744ac split one more ten-in-one test
and fix \v\f stuff while we're here..
2007-09-09 22:28:06 +00:00
Raghubansh Kumar
a14ef42c0c New testcases for ucwords() function 2007-09-07 14:44:52 +00:00
Raghubansh Kumar
67b4492c47 New testcases for strncmp() function 2007-09-07 14:20:12 +00:00
Raghubansh Kumar
cf2121887c New testcases for stripslashes() function 2007-09-07 13:51:26 +00:00
Zoe Slattery
b7a47a439b fixing error in expected output 2007-09-07 10:28:03 +00:00
Raghubansh Kumar
af40765f8f New testcases for addslashes() function 2007-09-06 04:01:25 +00:00
Zoe Slattery
b78b25a336 Test cases for sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, asinh, acosh, atanh. 2007-09-04 09:01:02 +00:00
Raghubansh Kumar
5096c8d232 fix tests 2007-09-04 08:37:51 +00:00
Derick Rethans
152d379950 - MFH: Fixed bug #42512 (ip2long('255.255.255.255') should return 4294967295 on
64-bit PHP).
2007-09-01 18:38:39 +00:00
Raghubansh Kumar
5081b960e5 fix test: do not run when noatime set 2007-08-30 04:04:58 +00:00
Raghubansh Kumar
16980248cc fix test: do not run on MACOS 2007-08-29 10:11:40 +00:00
Raghubansh Kumar
3b32190c91 fix test, do not run on macos 2007-08-29 04:38:09 +00:00
Zoe Slattery
9dfb01d3b1 adding check for rc1 to version-compare test 2007-08-24 14:47:50 +00:00
Raghubansh Kumar
ede06426ee fix tests 2007-08-23 09:32:37 +00:00
Raghubansh Kumar
857aae2bd7 fix test : skip if user is root 2007-08-20 04:07:02 +00:00
Raghubansh Kumar
7f0be4f49d fix tests 2007-08-20 03:37:39 +00:00
Raghubansh Kumar
b1080faf44 fix test: skip if user is root 2007-08-20 03:12:36 +00:00
Jani Taskinen
a3e6f47ea1 MFH:- Fix bug #41946 (ip2long("") should return FALSE) 2007-08-16 22:17:10 +00:00
Raghubansh Kumar
f2038206cc fix tests 2007-08-16 16:31:25 +00:00
Raghubansh Kumar
33f46cfe00 Fix tests 2007-08-14 14:07:46 +00:00
Raghubansh Kumar
5c98effea0 New testcase for clearstatcache() function 2007-08-13 11:40:57 +00:00
Raghubansh Kumar
4ed53a6dce New testcase for parse_ini_file() function 2007-08-13 11:34:42 +00:00
Ilia Alshanetsky
fb8e3abe88 Fixed copy test as well as the directory check inside copy() function 2007-08-12 17:09:59 +00:00
Ilia Alshanetsky
df9fbb6a73 Fixed test 2007-08-12 16:29:43 +00:00
Ilia Alshanetsky
69c00b75bb WS 2007-08-12 16:28:07 +00:00
Raghubansh Kumar
b6e86f054c New testcases for fgetss() function 2007-08-12 06:53:04 +00:00
Raghubansh Kumar
6aa6434abf More new testcases for fopen() & fclose() functions 2007-08-12 05:16:19 +00:00
Antony Dovgal
ba1cfb71ae MFH 2007-08-11 22:42:29 +00:00
Antony Dovgal
5c3fb1ec46 MFH: fix tests 2007-08-11 22:18:45 +00:00
Raghubansh Kumar
ceeeed9d19 New testcases for fscanf() function 2007-08-10 17:54:48 +00:00
Raghubansh Kumar
7893178d8d New testcases for htmlentities() and htmlspecialchars() 2007-08-10 15:06:17 +00:00
Antony Dovgal
e2a79ed73e .. and remove the original one 2007-08-10 12:30:21 +00:00
Antony Dovgal
296147ea6e split the test 2007-08-10 12:30:09 +00:00
Jani Taskinen
c4be8ab831 - Fix the fix for bug #42233 2007-08-10 12:17:26 +00:00
Antony Dovgal
e87a7388b7 fix tests 2007-08-10 12:11:46 +00:00
Raghubansh Kumar
9bdaf6ab55 more new testcases for tempnam() function 2007-08-10 03:31:56 +00:00
Raghubansh Kumar
270414f3b5 New testcases for strtolower() and strtoupper() functions 2007-08-10 03:03:49 +00:00
Raghubansh Kumar
40f54b6c21 More new testcases for copy() function 2007-08-10 02:57:30 +00:00
Raghubansh Kumar
f852cf4c91 New testcases for tempnam() function 2007-08-09 03:34:00 +00:00
Raghubansh Kumar
9bd0045359 New Testcases for fgetcsv() function 2007-08-08 13:13:18 +00:00
Raghubansh Kumar
af3de070e5 More testcases for fputcsv() function 2007-08-08 13:08:17 +00:00
Raghubansh Kumar
83928238c2 New testcases for fputcsv() function 2007-08-08 03:53:07 +00:00
Ilia Alshanetsky
cd32b4e2bb Fixed bug #42208 (substr_replace() crashes when the same array is passed
more than once)
2007-08-05 14:47:42 +00:00
Antony Dovgal
d78c7c9421 fix test 2007-07-31 07:09:08 +00:00
Jani Taskinen
68b823564d MFH: - Fixed bug #42107 (sscanf broken when using %2$s type format parameters) 2007-07-26 15:24:06 +00:00
Raghubansh Kumar
dcc62b53bf file.inc : Added dumping of stat array in functions (compare_self_stat() & compare_stats() )
Smaller testcases for lstat_stat_variation[1-7].phpt files
2007-07-26 13:38:24 +00:00
Dmitry Stogov
2d3d745bd9 Fixed EOF handling in case of reading from file opened in write only mode. 2007-07-25 16:34:06 +00:00
Dmitry Stogov
af0e8612af Fixed test 2007-07-24 20:08:33 +00:00
Antony Dovgal
48f4ea9fba fix test 2007-07-23 22:14:47 +00:00
Antony Dovgal
a13e153942 remove the tests, they've been splitted into smaller ones 2007-07-23 19:19:09 +00:00
Jani Taskinen
e8fcd7477c MFH: Fixed str_pad() when passed huge negative pad length. 2007-07-23 13:27:59 +00:00
Jani Taskinen
0dd60dd1cd MFH: fix descriptions 2007-07-23 10:47:13 +00:00
Antony Dovgal
ecb986892c more tests 2007-07-23 09:14:34 +00:00
Dmitry Stogov
1f5310747e Fixed wrong expectation 2007-07-23 08:58:17 +00:00
Raghubansh Kumar
e4bf2268bf more testcases for glob() function 2007-07-23 07:32:08 +00:00
Raghubansh Kumar
6e8d7aa85d New testcases for glob() function 2007-07-23 05:22:59 +00:00
Raghubansh Kumar
8c01bf9ffb More new testcases for fread() function 2007-07-22 17:41:25 +00:00
Raghubansh Kumar
58bae48bf4 New testcases for fread() functions 2007-07-22 17:27:35 +00:00
Ilia Alshanetsky
3fea65b0dc Fixed "Floating point exception" inside wordwrap() 2007-07-22 15:55:16 +00:00
Raghubansh Kumar
a6278717f5 New testcases for stat() function on windows 2007-07-22 12:37:09 +00:00
Raghubansh Kumar
66e901b9d5 New testcases for ftruncate() function 2007-07-22 12:35:03 +00:00
Raghubansh Kumar
6b81cef355 fix tests 2007-07-22 12:26:18 +00:00
Raghubansh Kumar
5b83920434 New testcases for umask() function 2007-07-21 18:16:17 +00:00
Raghubansh Kumar
1797c6870e New testcases for lstat() and stat() functions 2007-07-21 17:35:37 +00:00
Raghubansh Kumar
a47f464e6e New testcases for is_file() function 2007-07-21 17:34:03 +00:00
Raghubansh Kumar
7cefd7792c New testcases for is_dir() function 2007-07-21 17:31:42 +00:00
Raghubansh Kumar
0e6b39f515 New testcases for fseek(), ftell() and rewind() functions 2007-07-21 17:30:23 +00:00
Raghubansh Kumar
ff2a77b1d3 New testcases for fflush() function 2007-07-21 17:14:50 +00:00
Raghubansh Kumar
0b4fc7c768 New testcases for fgetc() and fgets() functions 2007-07-21 07:55:07 +00:00
Raghubansh Kumar
d62163292f Fix for fill_file() in file.inc
New testcases for readfile() and umask() functions
2007-07-20 18:07:02 +00:00
Antony Dovgal
a091268eef MFH 2007-07-19 15:15:26 +00:00
Antony Dovgal
0806c6c804 add new tests from HEAD 2007-07-19 15:04:15 +00:00
Antony Dovgal
297f069eb6 MFH 2007-07-19 12:16:30 +00:00
Raghubansh Kumar
9d7e023e37 New testcases for filesystem handling function : unlink() 2007-07-18 04:59:46 +00:00
Raghubansh Kumar
38002b9f7f fix tests 2007-07-16 17:55:39 +00:00
Raghubansh Kumar
c9aedbdda1 New testcases 2007-07-16 17:34:44 +00:00
Antony Dovgal
2399b208db MFH: split test 2007-07-16 10:59:17 +00:00
Antony Dovgal
241e66a708 MFH: split the test 2007-07-13 16:47:39 +00:00
Zoe Slattery
a7b240b337 Assert test cases 2007-07-13 15:20:12 +00:00
Jani Taskinen
28a2fe07b4 MFH: close file handles 2007-07-12 11:14:22 +00:00
Jani Taskinen
efe310579e MFH: - Fixed bug #41815 (Concurrent read/write fails when EOF is reached) 2007-07-12 11:03:46 +00:00
Antony Dovgal
9069dde1a4 fix test 2007-07-12 09:26:42 +00:00
Raghubansh Kumar
f0a8003c23 better check for skip 2007-07-11 09:13:47 +00:00
Dmitry Stogov
ca854215db Fixed symlink("", "somthing") and link("", "somthing") in ZTS mode 2007-07-10 13:21:11 +00:00
Raghubansh Kumar
c5254dbc1d These testcases are now split into smaller testcases, hence being deleted 2007-07-09 17:55:34 +00:00
Raghubansh Kumar
f159642284 Fix and smaller testcases for mkdir_rmdir_variation.phpt, popen_pclose_error.phpt, readlink_realpath_basic.phpt, readlink_realpath_error.phpt & readlink_realpath_variation.phpt 2007-07-09 17:38:33 +00:00
Dmitry Stogov
539f67ed8f Added ability to create local or remote (URL) user streams
Local user streams must not be able to open(), URLs if allow_url_include is off
Implemented new function stream_is_local()
[
- stream_wrapper_register() extended with additional optional argument "flags"
  of type long. This time only one flag is implemented
- STREAM_IS_URL, that means that userstream wrapper is remote (URL).
  By default stream is local.
- stream_is_local() is a new function that accepts stream and tell if this
  stream is local or remote (URL)
]
2007-07-09 17:27:24 +00:00
Dmitry Stogov
fe9a826605 Proper fix for MOPB-29 2007-07-09 14:31:56 +00:00
Raghubansh Kumar
a1fdbe88a6 These files are now split into one or more smaller testcases, hence being deleted. 2007-07-08 12:41:44 +00:00
Raghubansh Kumar
0affea112a Run only on 32-bit OS 2007-07-08 05:01:11 +00:00
Raghubansh Kumar
fda3f33554 Fix and smaller testcases for is_readable_variation.phpt, is_executable_variation.phpt & is_writable_variation.phpt 2007-07-06 18:30:46 +00:00
Raghubansh Kumar
28b73af90f better check for root user 2007-07-06 03:40:31 +00:00
Raghubansh Kumar
87b2a52a16 fix test: 006_error.phpt & filegroup_basic.phpt
fix and smaller tests for symlink_link_linkinfo_is_link[basic|error|variation].phpt
2007-07-05 18:53:34 +00:00
Raghubansh Kumar
9beffb1971 Smaller testcases for 006_variation.phpt, file_get_contents_file_put_contents_variation.pht, filesize_variation.phpt, filesize_variation-win32.phpt, fwrite_variation.phpt, fwrite_variation-win32.phpt"
Fix for filesize_variation to match filesize using %d
2007-07-03 07:10:01 +00:00
Antony Dovgal
e4450111cc divide the test into smaller tests 2007-06-29 12:56:49 +00:00
Antony Dovgal
030252067e MFH 2007-06-28 16:07:12 +00:00
Antony Dovgal
4948afff78 MFH 2007-06-28 15:27:09 +00:00
Antony Dovgal
93dfce49ca remove 32bit restriction 2007-06-28 15:10:57 +00:00
Antony Dovgal
6b75f7bb82 more smaller tests 2007-06-28 15:04:47 +00:00
Antony Dovgal
b4e74fe9b5 MFH 2007-06-28 14:51:35 +00:00
Antony Dovgal
ce22f44493 MFH: fix #41445 (parse_ini_file() has a problem with certain types of integer as sections) 2007-06-26 12:10:08 +00:00
Antony Dovgal
76cf8c0636 fix test 2007-06-25 21:24:44 +00:00
Antony Dovgal
be9e02fd74 fix test 2007-06-25 17:10:14 +00:00
Dmitry Stogov
48658c2512 Fixed tests 2007-06-25 09:01:53 +00:00
Dmitry Stogov
506bd484dc Better fix for bug #41655 2007-06-25 08:40:20 +00:00
Zoe Slattery
4d503a8807 Reverting test to original after dicsussion with Raghu. Will open bugzilla for Linux/VMware behaviour 2007-06-22 19:18:37 +00:00
Zoe Slattery
3725bf6d5f Changed expected output so that this runs on Linux under VMWare as well as Linux. 2007-06-22 14:46:18 +00:00
Pierre Joye
1b894c90e7 - MFB: add test cases for #41655 2007-06-22 12:35:41 +00:00
Raghubansh Kumar
7a1b48eeff New tests for file system handling functions 2007-06-22 08:11:45 +00:00
Raghubansh Kumar
e647140a82 New tests for file system handling functions 2007-06-21 21:12:18 +00:00
Raghubansh Kumar
993b689a2e New functons to compare stat array 2007-06-21 21:06:47 +00:00
Derick Rethans
3b481cef64 - MFH: Added the H modifier to create non-locale-aware non-fixed-precision
float representations.
- MFH: Fixed var_export() to use the new H modifier so that it can generate
  parsable PHP code for floats again, independent of the locale.
2007-06-19 12:20:50 +00:00
Raghubansh Kumar
210f091022 New tests for file system handling functions 2007-06-18 19:45:53 +00:00
Ilia Alshanetsky
24bdf0e368 Fixed bug #41686 (Omitting length param in array_slice not possible). 2007-06-18 16:53:09 +00:00
Dmitry Stogov
738ff1277a Fixed yet another realpath cache bug and wrong tests 2007-06-18 09:50:40 +00:00
Dmitry Stogov
1fe8fded5f Fixed test 2007-06-15 08:16:11 +00:00
Dmitry Stogov
a81b0b5d62 Prevent memory overflow 2007-06-15 08:04:59 +00:00
Ilia Alshanetsky
bab1ce1429 Fixed bug #41693 (scandir() allows empty directory names). 2007-06-14 23:28:06 +00:00
Raghubansh Kumar
788ac84cf4 New tests for file system handling functions 2007-06-14 20:12:58 +00:00
Zoe Slattery
c73237b7b9 Tests are not valid if run by root - adding check to skip is user is root. 2007-06-14 15:40:06 +00:00
Raghubansh Kumar
ed39fac5d2 New tests for file handling system functions 2007-06-13 22:38:49 +00:00
Raghubansh Kumar
648aaf250a New tests for file handling system functions 2007-06-11 16:14:59 +00:00
Stanislav Malyshev
b6ddf71381 revert - already have unpack.phpt 2007-06-06 22:25:08 +00:00
Stanislav Malyshev
bc35767b46 add edge case test 2007-06-06 22:21:59 +00:00
Ilia Alshanetsky
717e94c67a Added missing format validator to unpack() function 2007-06-06 22:04:05 +00:00
Stanislav Malyshev
2e15dda50e fix test format 2007-06-06 17:46:17 +00:00
Stanislav Malyshev
8b5a2d38c4 add some edge cases 2007-06-06 17:12:40 +00:00
Stanislav Malyshev
e001e11009 add test for moneyformat 2007-06-06 17:11:59 +00:00
Zoe Slattery
860c643448 New tests for file handling 2007-06-06 12:53:58 +00:00
Zoe Slattery
7a7c447a17 fixed file permission for new empty file 2007-06-06 12:53:17 +00:00
Zoe Slattery
7a03838430 Fixing incorrect comment in test cases fileinode_variation and filetype_variation 2007-06-05 11:35:04 +00:00
Zoe Slattery
22c68a8155 new test cases for general functions 2007-06-05 09:12:34 +00:00
Zoe Slattery
ce71724def New test cases for file system functions 2007-06-05 09:10:50 +00:00
Zoe Slattery
d5d297d461 Added fill_buffer() function 2007-06-05 08:02:17 +00:00
Antony Dovgal
31ce08253c MFH 2007-06-04 17:18:51 +00:00
Brian Shire
55b5b89ef7 fix sprintf/printf %u tests so they work correctly on both 32-bit and 64-bit. (broken in previous fix)
# just made these EXPECTREGEX expressions, if there's a prefered way to comply with both 32/64 bit let me know.
2007-06-04 01:23:07 +00:00
Ilia Alshanetsky
405a15043f Corrected fix for CVE-2007-2872 2007-06-03 18:47:10 +00:00
Antony Dovgal
8e3eee385e MFH: fix #41518 (file_exists() warns of open_basedir restriction on non-existent file) 2007-06-01 13:35:23 +00:00
Ilia Alshanetsky
9282d4add6 Fixed an interger overflow inside chunk_split(), identified by Gerhard
Wagner
2007-05-30 00:33:13 +00:00
Antony Dovgal
f7ec7197f7 fix tests 2007-05-29 10:25:33 +00:00
Nuno Lopes
2c5368c013 fix handling of &&amp; by htmlentities 'no-double-encode'
expand the test cases
2007-05-27 15:57:11 +00:00
Antony Dovgal
bac779d6b6 check for required func 2007-05-27 14:39:21 +00:00
Antony Dovgal
060589090d fix test 2007-05-27 14:30:06 +00:00
Zoe Slattery
eb0f324f70 New testcaes for file/strings/general_functions 2007-05-25 13:44:23 +00:00
Antony Dovgal
9a37c5588c fix tests 2007-05-22 16:58:33 +00:00
Antony Dovgal
d14d148f66 fix test 2007-05-22 16:52:58 +00:00
Raghubansh Kumar
17a6ac36da New version of gettype_settype_variation1.phpt gettype_settype_variation6.phpt
gettype_settype_variation2.phpt  gettype_settype_variation7.phpt      gettype_settype_variation3.phpt  gettype_settype_variation8.phpt
gettype_settype_basic.phpt  gettype_settype_variation4.phpt
gettype_settype_error.phpt  gettype_settype_variation5.phpt
2007-05-22 16:01:59 +00:00
Raghubansh Kumar
9f5016ef7b New version of basename_basic.phpt, basename_error.phpt, basename_variation.phpt 2007-05-22 15:59:04 +00:00
Antony Dovgal
a69e6e2c79 MFH: improve variable name checks
add more tests
2007-05-22 14:34:23 +00:00
Ilia Alshanetsky
c98cbb6020 [DOC] Added a 4th parameter flag to htmlspecialchars() and htmlentities()
that makes the function not encode existing html entities. The feature is
disabled by default and can be activated by passing FALSE as the 4th param
2007-05-22 12:37:00 +00:00
Antony Dovgal
6434290092 fix test
add separate test for 64bit
2007-05-18 20:45:50 +00:00
Antony Dovgal
ff514e208e fix tests 2007-05-18 11:47:58 +00:00
Antony Dovgal
ffd09c0961 fix tests 2007-05-18 11:29:55 +00:00
Zoe Slattery
8f06575c23 Updated range() test 2007-05-16 21:07:33 +00:00
Antony Dovgal
e72d044f9f fix tests 2007-05-15 14:25:21 +00:00
Antony Dovgal
a640896685 fix test 2007-05-14 16:18:02 +00:00
Antony Dovgal
2274c18cc6 remove floats, their text representation varies depending on many factors 2007-05-14 11:10:30 +00:00
Antony Dovgal
9100e9efde add 64bit tests 2007-05-14 11:04:30 +00:00
Antony Dovgal
83df9beca2 fix precision 2007-05-14 11:04:08 +00:00
Antony Dovgal
b33de5d0aa fix tests - make them 32bit only, 64bit version will be later
add --INI-- section
remove recursive arrays, that thing should be in a separate test
2007-05-14 10:57:04 +00:00
Raghubansh Kumar
c5c162d182 New version of debug_zval_dump_b.phpt, is_array.phpt, is_null.phpt, is_string.phpt, debug_zval_dump_e.phpt, is_bool.phpt, is_numeric.phpt, print_r.phpt, debug_zval_dump_o.phpt, is_float.phpt is_object.phpt, strval.phpt,
debug_zval_dump_v.phpt, is_int.phpt, is_scalar.phpt, var_dump.phpt
2007-05-12 10:28:00 +00:00
Raghubansh Kumar
3a97c49489 New version of addcslashes.phpt, md5_file.phpt, str_replace.phpt, substr.phpt, chr_ord.phpt, strpos.phpt, strstr.phpt, trim1.phpt, implode1.phpt, str_repeat.phpt, substr_count.phpt 2007-05-12 10:15:02 +00:00
Raghubansh Kumar
42ae6b508e New version of 005.phpt, array_change_key_case.phpt, array_key_exists.phpt, array_keys.phpt, array_map.phpt, array_pop.phpt, array_search.phpt, array_values.phpt, each.phpt, end.phpt, extract.phpt 2007-05-12 09:53:30 +00:00
Raghubansh Kumar
02dd014013 New version of 009.phpt 2007-05-12 09:50:40 +00:00
Antony Dovgal
8de1ecef64 MFH: fix segfault in strripos() when offset == INT_MAX+1
identified and repoted by Joxean Koret
2007-05-10 22:10:43 +00:00
Antony Dovgal
7efde494d7 MFH: flush output buffer when/if highlight_string()/php_strip_whitespace()/highlight_string() fail 2007-05-10 16:28:11 +00:00
Scott MacVicar
e7577d57cd Fixed bug #41347 (checkdnsrr() segfaults on empty hostname). 2007-05-10 13:16:54 +00:00
Antony Dovgal
c69b76dc52 MFH: fix segfault in iptcembed() 2007-05-10 12:23:25 +00:00
Antony Dovgal
3a46e8ab1f fix tests 2007-05-07 22:30:16 +00:00
Antony Dovgal
c2c4fe75e1 fix test 2007-05-07 21:38:42 +00:00
Antony Dovgal
1f65545121 fix test names 2007-05-07 18:03:01 +00:00
Hannes Magnusson
1d2c53b249 Fix test 2007-05-06 13:11:31 +00:00
Dmitry Stogov
f409fcd02a Fixed test 2007-05-02 07:27:36 +00:00
Ilia Alshanetsky
e0cab44595 Remove quotes 2007-05-01 00:05:39 +00:00
Antony Dovgal
66859a74de fix tests 2007-04-26 23:30:00 +00:00
Antony Dovgal
d66080d6f0 make this test 32bit only 2007-04-20 16:14:37 +00:00
Ilia Alshanetsky
c34806e145 Fixed bug #41121 (range() overflow handling for large numbers on 32bit
machines).
2007-04-19 23:21:22 +00:00
Dmitry Stogov
b2785c3d4c Fixed tests (win32) 2007-04-18 14:51:29 +00:00
Antony Dovgal
16129b7024 MFH: fix putenv("var") (i.e. unset) on BSD systems
add test
2007-04-17 20:34:14 +00:00
Antony Dovgal
e83f375c2f fix test 2007-04-16 08:14:33 +00:00
Brian Shire
e7d68b8373 reverting incorrect changes to pack test
# only a problem on darwin, latest gcc-4.2 branch works as expected.
2007-04-13 02:15:07 +00:00
Antony Dovgal
5f48fbb4da skip this test on MacOS 2007-04-10 21:20:44 +00:00
Antony Dovgal
903155d504 fix test name 2007-04-10 21:16:56 +00:00
Antony Dovgal
562f886ecb MFH: fix #41037 (unregister_tick_function() inside the tick function crash PHP) 2007-04-10 09:37:09 +00:00
foobar
191b843a02 Fix test 2007-04-09 20:07:25 +00:00
Antony Dovgal
f2f885c023 fix test 2007-04-06 19:35:12 +00:00
Brian Shire
bd4add59f7 correction for previous fix to bug #38770 (pack/unpack is broken on 64bit)
fix pack test, correct space to tabs
2007-04-03 19:50:40 +00:00
foobar
3da21dc6fc - 64bit test 2007-04-02 15:09:37 +00:00
foobar
bb0547029a - Make this 32bit only test. (will add 64bit version next) 2007-04-02 15:02:02 +00:00
Zoe Slattery
c18d3b56e7 new ltrim, rtrim and str_pad tests 2007-03-28 10:44:04 +00:00
Zoe Slattery
517865fb6e New tests for printf and ucfirst 2007-03-28 09:38:30 +00:00
Zoe Slattery
23d64aeaa4 Three new string tests for funtions strcasecmp, strcmp and strlen. 2007-03-28 09:08:08 +00:00
Antony Dovgal
7053b89072 MFH: fix #40915 (addcslashes unexpected behavior with binary input) 2007-03-26 10:25:41 +00:00
Stanislav Malyshev
0af75d6b1a fix MOPB-29 - unserialize modifier S does not calculate length correctly
# reported by Stefan Esser
2007-03-23 20:15:22 +00:00
Stanislav Malyshev
a424d65e0b add test 2007-03-16 19:55:21 +00:00
Antony Dovgal
982de65f6e fix substr()
it's perfectly legal to do substr("str", 0, 1000000);
2007-03-09 10:04:59 +00:00
Antony Dovgal
c9ded196b4 fix tests 2007-03-09 09:45:14 +00:00
Ilia Alshanetsky
02fae929af Fixed bug #40754 (added substr() & substr_replace() overflow checks). 2007-03-09 01:58:34 +00:00
Antony Dovgal
af1843f866 MFH: fix #40752 (parse_ini_file() segfaults when a scalar setting is redeclared as an array) 2007-03-08 00:44:23 +00:00
Ilia Alshanetsky
1ac71c4fe9 Fixed bug #40709 (array_reduce() behaves strange with one item stored
arrays).
2007-03-04 17:21:16 +00:00
Ilia Alshanetsky
e769e1b49e Fixed bug #40704 (strip_tags() does not handle single quotes correctly) 2007-03-03 15:46:29 +00:00
Nuno Lopes
f1d075a102 increase the stream_select() timeout, to make the test pass in a slow machine with valgrind 2007-03-02 18:54:13 +00:00
Antony Dovgal
ad8c94d8cc fix
the sprintf() -> zend_spprintf() change affected this
2007-02-26 12:08:12 +00:00
Antony Dovgal
666370d7ee add new test 2007-02-26 09:58:04 +00:00
Nuno Lopes
d94e388d74 fix test on ultra-fast-machines and/or SOs with long time slices
# Thanks Tony
2007-02-22 11:48:14 +00:00
Antony Dovgal
e1fe2c9165 MFH 2007-02-21 22:08:08 +00:00
Antony Dovgal
26fac39d5e fix test 2007-02-21 19:57:15 +00:00
Nuno Lopes
4f3150c350 use /usr/bin/nohup instead 2007-02-21 16:25:37 +00:00
Nuno Lopes
d446564786 Fixed bug #39322 (proc_terminate() destroys process resource) 2007-02-14 19:13:31 +00:00
Nuno Lopes
9cc85b6030 Fixed bug #34794 (proc_close() hangs when used with two processes) 2007-02-13 19:53:42 +00:00
Antony Dovgal
29a9ba9639 new/improved tests 2007-02-13 12:59:53 +00:00
Ilia Alshanetsky
103b8c33c0 Fixed bug #40432 (strip_tags() fails with greater than in attribute). 2007-02-13 02:16:22 +00:00
Antony Dovgal
634615cd42 MFH: fix tests 2007-02-12 14:49:05 +00:00
Antony Dovgal
796080d8c4 MFH: add separate IPv6 test 2007-02-12 14:43:00 +00:00
Antony Dovgal
45c0253f2c add test 2007-02-11 20:56:46 +00:00
Antony Dovgal
77d93ee6b3 fix test 2007-02-11 20:06:19 +00:00
Marcus Boerger
3bd74e422a - MFH Add new test 2007-02-08 08:44:51 +00:00
Antony Dovgal
323467f9c9 add test 2007-02-07 21:13:01 +00:00
Dmitry Stogov
933c26de41 Fixed bug #39367 (clearstatcache() doesn't clear realpath cache)
Fixed bug #40092 (chroot() doesn't clear realpath cache)
2007-01-22 09:31:46 +00:00
Antony Dovgal
eae1072ccc MFH 2007-01-22 08:21:57 +00:00
Antony Dovgal
2c36778e47 MFH: fix #40191 (use of array_unique() with objects triggers segfault) 2007-01-22 08:17:26 +00:00
Hannes Magnusson
3f9a4baa31 Fix test according to bug#40009 2007-01-05 15:22:35 +00:00
Ilia Alshanetsky
78d8808f42 Mark test as being 32bit only 2006-12-30 02:00:51 +00:00
Nuno Lopes
54f3ff34b7 oops: remove uneeded code in the skip condition 2006-12-27 15:17:04 +00:00
Nuno Lopes
d07a46ebab add fr_FR@euro to the setlocale list 2006-12-27 15:11:35 +00:00
Ilia Alshanetsky
652c7096b2 Fixed test for 64bit systems 2006-12-25 21:07:53 +00:00
Antony Dovgal
c52bc49f50 fix test 2006-12-25 14:27:51 +00:00
Antony Dovgal
6e8a7d7b20 fix tests 2006-12-25 11:16:23 +00:00
Ilia Alshanetsky
f40ebf4171 Fixed bug #36392 (wrong number of decimal digits with %e specifier in
sprintf).
2006-12-22 15:29:41 +00:00
Ilia Alshanetsky
fd8f758ecd Fixed bug #39873 (number_format() breaks with locale & decimal points). 2006-12-22 04:03:15 +00:00
Hannes Magnusson
b12e3e1475 Fix tests 2006-12-19 10:03:24 +00:00
Dmitry Stogov
03312cc0d9 Added function stream_socket_shutdown(). It is a wraper for system shutdown() function, that shut downs part of a full-duplex connection 2006-12-19 08:58:58 +00:00