Commit Graph

1462 Commits

Author SHA1 Message Date
Antony Dovgal
e5612456de fix skip messages 2008-07-11 09:16:50 +00:00
Antony Dovgal
8e28f5d4c0 check for posix_getuid() 2008-07-11 09:15:37 +00:00
David Soria Parra
82830dd06f PHP Testfest. Tests done by Felix De Vliegher 2008-07-10 23:36:15 +00:00
Felipe Pena
c110a49b03 - Fixed tests 2008-06-26 11:07:14 +00:00
Felix De Vliegher
8c22747b68 MFB: tests for lchown(), testfest.php.net task number 129. 2008-06-26 09:12:40 +00:00
Felix De Vliegher
0a7198a297 MFB: tests for ob_get_flush(), testfest task number #131 2008-06-24 10:33:38 +00:00
Felix De Vliegher
d54cf79cbc Testcases for vfprintf(), testfest task #133. 2008-06-22 13:31:10 +00:00
Felix De Vliegher
ce79e30177 Basic test for ob_get_length(), testfest.php.net task #132 2008-06-22 12:51:37 +00:00
Dmitry Stogov
c5031f96bb Added test for bug #45312 2008-06-19 12:10:00 +00:00
Zoe Slattery
4576f6348a Commited for Sanjay, reviewed by Pierre. Testfest task 117. 2008-06-13 15:22:42 +00:00
Felipe Pena
5b4685d724 - Fixed tests 2008-06-13 13:43:55 +00:00
Zoe Slattery
c108d791fc Commited for Sanjay, reviewed by Pierre. Testfest task 117. 2008-06-13 13:33:15 +00:00
Zoe Slattery
9b5e867bdc Commited for Sanjay, reviewed by Pierre. Testfest task 118. 2008-06-13 13:14:20 +00:00
Felipe Pena
7504d57043 - Fixed tests (unicode results, UEXPECT, line endings) 2008-06-13 00:18:57 +00:00
Steve Seear
79cb128c59 Filesystem tests. 2008-06-11 12:40:34 +00:00
Dmitry Stogov
00ea3108ea closeder/readdir/rewinddir must work only with directories 2008-06-11 09:01:44 +00:00
Felipe Pena
e4fc964ab3 - Added check for encoding optional parameter (avoiding the segfault in filter.c: strlen(encoding))
If the parameter is not suplied, it will try to use the UG(stream_enconding)
2008-05-28 18:02:52 +00:00
Steph Fox
87fac43ac0 - killed off UEXPECT
- html_translation_table and setlocale tests are no longer relevant
- there are a number of ANSI-encoded files. Is this deliberate?
2008-05-27 10:50:48 +00:00
Steph Fox
a4cb8c536f - killed off UEXPECT 2008-05-27 09:34:55 +00:00
Steph Fox
4ccb8869e7 - killed off UEXPECT 2008-05-27 07:46:51 +00:00
Steph Fox
08253045d4 - killed off UEXPECT
- no getmxrr() under doze
2008-05-27 07:41:44 +00:00
Steph Fox
5078c3a00a - killed off UEXPECT 2008-05-27 07:38:00 +00:00
Steph Fox
1b04aaf1ed - killed off UEXPECT 2008-05-27 00:08:03 +00:00
Steph Fox
fa3d01975b - killed off UEXPECT
- E_DEPRECATED doesn't always allow stuff to pass?
2008-05-27 00:04:31 +00:00
Steph Fox
24d1d8459c - killed off UEXPECT
- everything passes here on my box, yay
2008-05-26 23:54:20 +00:00
Steph Fox
8c15398ca6 - killed off UEXPECT 2008-05-26 23:48:29 +00:00
Steph Fox
f6cc4ee4df - killed off UEXPECT
- Tony has a patch that should fix all these
2008-05-26 23:45:15 +00:00
Steph Fox
b00be96ec2 - killed off UEXPECT
- another of those parser differences in assert_02.phpt. Please check.
2008-05-26 23:42:10 +00:00
Steph Fox
833f4150a1 - killed off UEXPECT
- could someone please fix var_export2.phpt? NUL is corrupted, can't fix here
2008-05-26 23:36:10 +00:00
Marcus Boerger
42c955d77b - Add constants and new test (test from testfest.php.net) 2008-05-24 11:53:35 +00:00
Antony Dovgal
b3e245110d and the last one.. 2008-05-14 13:13:02 +00:00
Matt Wilmas
49800ec22c Fixed test after fixing bug #44830 2008-05-12 05:06:53 +00:00
Ant Phillips
b6c0148fc0 Collect all the open_basedir security tests into one place 2008-05-09 08:44:44 +00:00
Felipe Pena
496099274b - Fixed detection of invalid class name 2008-05-08 16:58:43 +00:00
Kalle Sommer Nielsen
f914d50dd6 Implemented Windows support for asinh(), acosh(), atanh(), log1p() and expm1() + removed Windows check on tests
[DOC] Windows support for asinh(), acosh(), atanh(), log1p() and expm1()
2008-05-05 06:28:03 +00:00
Ant Phillips
07dc6d94b6 open_basedir tests for directory functions 2008-05-01 12:36:44 +00:00
Ant Phillips
6946c49719 open_basedir tests for directory functions 2008-05-01 11:46:17 +00:00
Ant Phillips
08b3473a81 Break up complicated rename tests into some smaller more consumable chunks 2008-04-30 13:53:50 +00:00
Ant Phillips
72d15b9bba Extra open_basedir tests 2008-04-24 16:40:55 +00:00
Ant Phillips
dedb146a69 Allow for chmod() to fail on symbolic links 2008-04-24 13:58:27 +00:00
Pierre Joye
09c7d21237 - improve test and remove files on exit 2008-04-24 08:45:11 +00:00
Dmitry Stogov
937b1b7ab6 Fixed bug #44805 (rename() function is not portable to Windows). (Pierre) 2008-04-24 07:46:10 +00:00
Ant Phillips
6b21c9a335 open_basedir tests for file system functions (v5.2, 5.3 and 6.0 branches) 2008-04-23 14:10:12 +00:00
Felipe Pena
5df12221cf - Added UEXPECTF 2008-04-21 12:50:40 +00:00
Felipe Pena
18fad25a77 - Fixed tests 2008-04-19 23:11:26 +00:00
Felipe Pena
04d0bb1e10 - Fixed tests (NULL is allowed where binary string is expected) 2008-04-15 17:13:08 +00:00
Felipe Pena
c831cc9c75 - Fixed test 2008-04-15 15:41:41 +00:00
Felipe Pena
d376f209d4 - Fixed test (bug #44533) 2008-04-14 17:51:08 +00:00
Felipe Pena
47affc1757 - Fixed test 2008-04-14 17:42:30 +00:00
Hannes Magnusson
0789f3d81c MFB5.3: 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:42:14 +00:00
Hannes Magnusson
1972f83385 MFB5.3: Fixed bug#44712 (stream_context_set_params segfaults on invalid arguments) 2008-04-13 22:40:35 +00:00
Greg Beaver
abb227db46 sync fixed test properly with 5.3 branch 2008-04-13 21:41:46 +00:00
Greg Beaver
d90aa1a587 fix test 2008-04-13 21:41:45 +00:00
Felipe Pena
f6639abf7d MFB: Fixed bug #44703 (htmlspecialchars() does not detect bad character set argument) 2008-04-11 19:08:05 +00:00
Robin Fernandes
30fd5ba517 Fix test parse_url_variation_002.phpt for 64bit platforms. 2008-04-11 14:35:07 +00:00
Robin Fernandes
91df70bdaa Adding some tests for ereg and url functions. 2008-04-11 08:57:06 +00:00
Nuno Lopes
5d183af5f4 MFB 2008-04-10 19:14:23 +00:00
Jani Taskinen
defea67cf5 - Add missing basic test (see also bug #44574) 2008-04-08 12:32:51 +00:00
Jani Taskinen
30d057d32c - Fixed bug #44667 (proc_open does not handle pipes with the mode "wb" correctly) 2008-04-08 08:42:05 +00:00
Etienne Kneuss
b5cdc9ffee Implement forward_static_call(_array) to complete LSB. Patch by Mike Lively 2008-04-07 10:39:43 +00:00
Jani Taskinen
366581789f MFB: fix test 2008-03-27 15:06:16 +00:00
Dmitry Stogov
977cc79398 Added ability to use stream wrappers in include_path 2008-03-27 10:33:52 +00:00
Steve Seear
d08d2d7ee4 Adding tests for gethostbyaddr() and gethostbynamel() 2008-03-26 18:16:55 +00:00
Scott MacVicar
56352d1a2f MFB 5.3: Rest of the changes for re2c merge 2008-03-26 14:46:17 +00:00
Ilia Alshanetsky
1ad9e6e1d0 MFB: Fixed test on systems where . and .. order not guaranteed 2008-03-24 18:34:44 +00:00
Dmitry Stogov
824fa7ad54 Fixed tests (file order is undefined, so we need to sort() them) 2008-03-24 09:00:41 +00:00
Marcus Boerger
34898339b5 - Add new test 2008-03-21 15:18:18 +00:00
Antony Dovgal
a81de7c7a1 expect->expectf 2008-03-20 12:13:57 +00:00
Antony Dovgal
9b1c720c3d fix tests (tcp_socket is tcp_socket/ssl when/if openssl is enabled) 2008-03-20 08:35:11 +00:00
David Soria Parra
a19e28ece9 Fix bug #44487 (call_user_method_array issues a warning when throwing an exception). 2008-03-20 00:50:47 +00:00
Steve Seear
77f4934103 Adding streams tests 2008-03-19 17:38:20 +00:00
Steve Seear
b4f5622904 Adding filesystem tests 2008-03-19 17:26:36 +00:00
Felipe Pena
c604a1933c Cosmetic 2008-03-19 15:34:38 +00:00
Felipe Pena
d321bfba65 Fixed test 2008-03-19 15:22:59 +00:00
Felipe Pena
0e27741364 Fixed tests 2008-03-19 15:13:12 +00:00
Felipe Pena
b02063cf05 Fixed test 2008-03-19 14:55:58 +00:00
Felipe Pena
5056e34018 Fixed test 2008-03-19 14:45:24 +00:00
Antony Dovgal
4ce259fc1a fix test 2008-03-19 12:36:00 +00:00
Felipe Pena
f0c4283f47 MFB: Fixed bug #43614 (incorrect processing of numerical string keys of array in arbitrary serialized data) 2008-03-19 03:12:39 +00:00
Robin Fernandes
da591e8eca Adding more tests for serialize() and unserialize(). 2008-03-18 15:12:42 +00:00
Dmitry Stogov
a0378d3514 Fixed test 2008-03-18 06:44:54 +00:00
Antony Dovgal
a8127d612d fix test 2008-03-17 15:35:25 +00:00
Felipe Pena
8ae1faf517 MFB: Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes again...) 2008-03-12 19:21:30 +00:00
Felipe Pena
1fe7347fed MFB: Fixed bug #44394 (Last two bytes missing from output) 2008-03-12 02:45:15 +00:00
Josie Messa
09c316399b - Added extra whitespace around error messages in expected output 2008-03-11 10:20:06 +00:00
Josie Messa
f30035ea79 - New tests for getcwd() function 2008-03-10 15:24:14 +00:00
Josie Messa
49b8c820e6 - Modified expected output to allow tests to work on all platforms 2008-03-10 15:19:59 +00:00
Josie Messa
1fd345c31c - New tests for scandir() function 2008-03-10 14:16:32 +00:00
Etienne Kneuss
2660bd1de9 User error handlers no longer catch supressed errors 2008-03-08 22:17:32 +00:00
Greg Beaver
b0595a7bab fix tests if allow_url_fopen is disabled in php.ini 2008-03-08 19:12:41 +00:00
Greg Beaver
5faf5f8b87 fix test if allow_url_fopen is disabled in php.ini 2008-03-08 19:08:52 +00:00
Zoe Slattery
1bc3797c3f Countable requires SPL 2008-03-08 17:15:18 +00:00
Josie Messa
192649581e - Tests awaiting fix of bug #44246 2008-03-07 16:21:30 +00:00
Josie Messa
a532e65cd6 - New tests for rewinddir() function 2008-03-07 16:13:20 +00:00
Josie Messa
e5c40c1721 fix test 2008-03-07 16:07:34 +00:00
Josie Messa
c654b41280 - New tests for closedir() function 2008-03-07 16:02:42 +00:00
Greg Beaver
4c23969a41 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:15:29 +00:00
Robin Fernandes
f0acfb157d Add new tests for class/object functions and features. 2008-03-06 11:07:29 +00:00
Felipe Pena
702a290aba Fix test 2008-03-05 14:22:06 +00:00
Josie Messa
40c790c9f6 - new tests for readdir() function 2008-03-04 17:11:10 +00:00
Antony Dovgal
e1d3d931ed fix test 2008-03-04 11:16:22 +00:00
Josie Messa
f002663134 - new tests for opendir() function 2008-03-04 10:45:40 +00:00
Felipe Pena
748677148c Fixed tests 2008-02-28 15:28:00 +00:00
Felipe Pena
c557be114f Fixed tests 2008-02-26 13:16:55 +00:00
Josie Messa
1ce9261aac - New tests for chdir() function 2008-02-26 09:40:49 +00:00
Felipe Pena
cdb42ce6d2 MFB: Fixed bug #44242 (metaphone('CMXFXM') crashes PHP) 2008-02-25 22:56:47 +00:00
Steve Seear
47742538ff Replace hardcoded resource ids with %d in fgetc() tests. 2008-02-25 10:33:30 +00:00
Felipe Pena
e285f368ca Added UEXPECTF 2008-02-24 02:47:36 +00:00
Felipe Pena
8253434ea9 Fixed tests 2008-02-24 02:22:15 +00:00
Felipe Pena
49114611bb FIxed tests (new error message - E_DEPRECATED) 2008-02-23 22:30:08 +00:00
Felipe Pena
b4b9e034b4 Fixed tests (new error message - E_DEPRECATED) 2008-02-23 19:26:08 +00:00
Felipe Pena
482e4f2348 Fixed tests (new error message - E_DEPRECATED) 2008-02-23 19:17:41 +00:00
Felipe Pena
beeccb1e04 Fixed tests (new error message - E_DEPRECATED) 2008-02-23 19:01:11 +00:00
Marcus Boerger
6b58678c63 - Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus) 2008-02-23 17:03:53 +00:00
Robert Nicholson
05824bab01 - bug #44212 array_diff_assoc_error.phpt should expect warnings for missing parameters 2008-02-22 12:16:02 +00:00
Josie Messa
9c888c54cc - New tests for reset() function 2008-02-22 09:22:27 +00:00
Josie Messa
b0daabb4e3 - New tests for end() and next() function 2008-02-21 16:41:39 +00:00
Josie Messa
7b5a0bc42b - New tests for key() function 2008-02-21 14:36:15 +00:00
Josie Messa
cd5558b895 - New tests for current() function 2008-02-20 14:21:36 +00:00
Josie Messa
2f9709ecb6 - New tests for each() function 2008-02-19 17:03:11 +00:00
Josie Messa
8cccdb3af4 - New tests for natcasesort() function 2008-02-19 10:54:02 +00:00
Josie Messa
c5d7128a34 - changed UEXPECTF section 2008-02-19 09:37:50 +00:00
Felipe Pena
b62f4b4684 Fix test 2008-02-17 01:21:15 +00:00
Felipe Pena
74b3151540 Fix tests 2008-02-15 16:55:11 +00:00
Josie Messa
5c62735f17 - New tests for rsort() function 2008-02-15 16:04:35 +00:00
Antony Dovgal
82df944f6a more cosmetics 2008-02-15 09:35:47 +00:00
Josie Messa
c1e7564369 - New tests for count() function 2008-02-14 16:48:27 +00:00
Ilia Alshanetsky
a2e7675cb4 MFB: Fixed test on 64bit machines 2008-02-14 16:30:10 +00:00
Josie Messa
67a7756d86 - New variation test for array_values() 2008-02-14 16:09:18 +00:00
Josie Messa
c1e188bb80 - New tests for array_values() function 2008-02-14 14:20:51 +00:00
Felipe Pena
3531b3ff5f New test 2008-02-14 13:51:15 +00:00
Josie Messa
fab35b7748 - New tests for array_slice() function 2008-02-14 11:13:56 +00:00
Etienne Kneuss
7c89093243 Fix inconcistencies between substr and substr_compare 2008-02-13 16:59:56 +00:00
Josie Messa
e100d53bff - New tests for array_shift() function 2008-02-13 16:40:42 +00:00
Josie Messa
af9f6b3938 - New tests for array_push() function 2008-02-13 16:14:02 +00:00
Josie Messa
54731fea32 - committing tests for array_merge() function 2008-02-13 14:19:37 +00:00
Josie Messa
b12ed7908d - committig tests for array_key_exists() function 2008-02-13 13:12:06 +00:00
Josie Messa
3d0c36cc39 - committing array_change_key_case variation tests 2008-02-12 17:45:47 +00:00
Felipe Pena
1573f8c01c New test 2008-02-12 01:21:29 +00:00
Ilia Alshanetsky
95cd0deab0 MFB:Fixed test on 64bit machines 2008-02-11 16:23:25 +00:00
Felipe Pena
025d27e2ab Fix test (missing result) 2008-02-11 15:57:34 +00:00
Felipe Pena
8b4f61cf00 Fix test (UEXPECTF) 2008-02-11 15:46:51 +00:00
Johannes Schlüter
6595b0dc5e The exact message differs on different systems 2008-02-10 23:36:27 +00:00
Felipe Pena
6420454991 New test 2008-02-10 03:55:39 +00:00
Felipe Pena
9619ec2317 New test for strtok 2008-02-09 18:12:45 +00:00
Felipe Pena
0a5d2b1ac7 Fix error message 2008-02-07 13:26:36 +00:00
Felipe Pena
8083c40376 Added UEXPECTF 2008-02-07 13:18:58 +00:00
Felipe Pena
6935680443 Added UEXPECTF 2008-02-07 13:06:50 +00:00
Felipe Pena
77864cdc8e Fixed some tests (UEXPECT) 2008-02-07 12:45:54 +00:00
Marcus Boerger
4ad89748c3 - Fix missing check and tests 2008-02-06 20:39:54 +00:00
Zoe Slattery
87a60ef453 Fixing 32 bit specific 2008-02-06 09:28:01 +00:00
Zoe Slattery
4da92843b9 Tests for assorted Maths functions 2008-02-06 08:39:23 +00:00
Marcus Boerger
ee507a2d05 - Add new test 2008-02-05 18:56:40 +00:00
Robert Nicholson
8f6de4aada - fix arsort_variation3.phpt which was missing its EXPECT section 2008-02-05 11:20:28 +00:00
Jani Taskinen
71e3d357ef - Fixed bugs #43915, #43923 and #44019, a tiny performance issue fixed too 2008-02-04 20:45:16 +00:00
Felipe Pena
c866bc64cf Fix wrong test 2008-02-04 19:58:12 +00:00
Felipe Pena
360fed57da Fix error messages 2008-02-04 17:21:01 +00:00
Felipe Pena
421295b52e Fix tests 2008-02-04 15:43:09 +00:00
Felipe Pena
ac99835507 Fix tests (new error message) 2008-02-04 15:22:08 +00:00
Felipe Pena
1348f95d20 Fix tests (new error message) 2008-02-04 13:08:27 +00:00
Felipe Pena
76dab1562f Fix tests (new error message) 2008-02-04 12:37:15 +00:00
Robert Nicholson
caea756765 - added some new tests for arsort 2008-02-04 00:06:54 +00:00
Marcus Boerger
0034d47f09 - Fix tests 2008-02-02 13:33:21 +00:00
Antony Dovgal
de10394d60 fix test, add 64bit version 2008-02-01 23:18:53 +00:00
Zoe Slattery
bd8678289b A few new tests for math functions 2008-02-01 17:16:40 +00:00
Zoe Slattery
76022e67d8 Removing superfluous --INI-- section 2008-01-30 17:55:12 +00:00
Dmitry Stogov
5d1e742056 Fixed bug #43505 (Assign by reference bug) 2008-01-29 10:45:19 +00:00
Robert Nicholson
566fa19dec - update compact_variation1.phpt to take into account fix for bug #29044 2008-01-29 08:49:11 +00:00
Antony Dovgal
bc9cba1a93 MFB: fix #43927 (koi8r is missing from html_entity_decode())
patch by andy at demos dot su
2008-01-28 23:08:07 +00:00
Nuno Lopes
875d3f15fd be more strict in the skipif 2008-01-27 16:54:02 +00:00
Nuno Lopes
85adde057e MFB: fix skipifs 2008-01-27 16:52:34 +00:00
Robert Nicholson
4726a6f2bc - Add a basic test for array_shuffle() 2008-01-25 00:33:00 +00:00
Robert Nicholson
38c322d3db - add some basic tests for array diff and intersection functions 2008-01-25 00:17:34 +00:00
Robert Nicholson
0cf88073f0 - New tests for compact()
# compact_variation1.phpt will fail until bug #29044 is fixed
2008-01-24 14:50:18 +00:00
Antony Dovgal
346867aaf8 fix test 2008-01-23 11:38:31 +00:00
Antony Dovgal
2b2e025690 new test by Lars Strojny 2008-01-22 15:42:12 +00:00
Antony Dovgal
596403f226 fix #42861 (strtr() crashes in Unicode mode when $from argument is empty) 2008-01-21 14:37:19 +00:00
David Coallier
7a66695286 - Added lcfirst() function. The sister function of ucfirst()
- Test #1 for lcfirst()
2008-01-19 19:23:25 +00:00
David Coallier
982f842577 - run-tests.php -U
- The unicode test's error messages are working
2008-01-16 13:27:01 +00:00
David Coallier
ea2c35ad82 - MFB
- Make sure to return the good error message with new parse parameters api
  of ucfirst()
2008-01-16 13:12:51 +00:00
Brian Shire
e643a40051 Fix bug #42850 array_walk_recursive() leaves references, refix bug #34982 2008-01-14 22:08:00 +00:00
Greg Beaver
e54eb5513e 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:17 +00:00
Dmitry Stogov
1d9894a0c5 Added missing warning message 2008-01-10 09:38:41 +00:00
Raghubansh Kumar
acf19e9265 New testcases for array_diff_assoc() function 2008-01-04 13:59:44 +00:00
Raghubansh Kumar
9e3069cea5 New testcases for array_diff() function 2008-01-04 13:59:18 +00:00
Raghubansh Kumar
aa337c4bfc this testcase has been split into many smaller testcases and committed. 2008-01-03 09:38:43 +00:00
Raghubansh Kumar
7a038912b0 New smaller testcases for array_map() function 2008-01-03 09:35:11 +00:00
Hannes Magnusson
cdaaa15ddf MFB5.2: Fix test 2007-12-29 11:39:06 +00:00
Antony Dovgal
6b31eb58c7 fix test 2007-12-29 10:32:39 +00:00
Dmitry Stogov
171c52087e Fixed 32/64-bit tests (Serg) 2007-12-27 11:23:30 +00:00
Raghubansh Kumar
74584f8521 fix test : do not run when run as root 2007-12-25 16:14:32 +00:00
Dmitry Stogov
0c75772f68 Additional fix for bug #42868 2007-12-24 18:10:20 +00:00
Raghubansh Kumar
11178281fc new testcases for dir() function 2007-12-24 05:07:47 +00:00
Raghubansh Kumar
b90cab7ec7 fix tests 2007-12-24 04:29:26 +00:00
Dmitry Stogov
306a73677e Fixed test 2007-12-21 09:42:07 +00:00
Raghubansh Kumar
1444624663 fix tests 2007-12-20 17:25:06 +00:00
Robert Nicholson
c142564b00 new tests for array_map usage variations - string keys and references 2007-12-20 11:18:08 +00:00
Raghubansh Kumar
c4061cce23 fix test 2007-12-19 10:37:42 +00:00
Derick Rethans
b5629cb468 - Fixed var_export() for array keys
- Fixed broken explode() test
2007-12-18 10:53:25 +00:00
Raghubansh Kumar
73c041ee8c fix tests 2007-12-17 13:00:52 +00:00