Commit Graph

1726 Commits

Author SHA1 Message Date
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
Dmitry Stogov
9c024a30a5 Fixed bug #42868 (Floats cast to integer droduce unpredicatable results). (Zoe Slattery) 2007-12-17 11:06:43 +00:00
Dmitry Stogov
96a21b31d6 Fixed test 2007-12-13 07:57:52 +00:00
Raghubansh Kumar
65cf3fc3e1 New testcases for array_walk_recursive() function 2007-12-11 10:43:28 +00:00
Raghubansh Kumar
2e4deb0422 delete because there are two smaller testcases for this 2007-12-11 10:42:56 +00:00
Raghubansh Kumar
9193d93440 New testcases for array_walk() function 2007-12-11 10:40:23 +00:00
Raghubansh Kumar
c958bf2b10 New testcases for array_merge_recursive() function 2007-12-11 09:04:49 +00:00
Jani Taskinen
b6a2755df3 - Fixed bug #43541 (array_slice() length parameter messed up) 2007-12-11 08:30:46 +00:00
Ilia Alshanetsky
d963eaffcc MFB: Fixed bug #43522 (stream_get_line() eats additional characters) 2007-12-10 14:19:20 +00:00
Derick Rethans
5a14715596 - Fixed Bug #42272 (var_export() incorrectly escapes char(0)).
- Also fixed var_export() in unicode mode, as the function would actually
  generate non-parsable strings which defeats the purpose of var_export().
2007-12-09 16:54:30 +00:00
Raghubansh Kumar
775292518f new testcases for array_unique() function 2007-12-09 14:38:48 +00:00
Ilia Alshanetsky
2f39962f36 MFB: WS 2007-12-06 15:23:57 +00:00
Ilia Alshanetsky
40226917ab MFB: Fixed bug #43495 (array_merge_recursive() crashes with recursive
arrays)
2007-12-05 19:57:09 +00:00
Raghubansh Kumar
5b5211b0dc fix tests : better float values 2007-12-03 13:02:11 +00:00
Raghubansh Kumar
290076dffa fix tests: better float values 2007-12-03 12:04:26 +00:00
Raghubansh Kumar
00926c8535 New testcases for array_pad() function 2007-12-03 11:56:39 +00:00
Raghubansh Kumar
91ea43e411 New testcases for array_chunk() function 2007-12-03 03:52:06 +00:00
Derick Rethans
badfa1304d - Fixed a segfault when reading from an HTTP stream. 2007-11-29 12:27:49 +00:00
Ilia Alshanetsky
6d4f019433 MFB: Fixed tests 2007-11-28 14:50:03 +00:00
Raghubansh Kumar
c3e74e2d84 Marked with defect 2007-11-28 03:46:25 +00:00
Raghubansh Kumar
83cfd0ce0e New testcases for array_combine() function 2007-11-27 15:15:23 +00:00
Raghubansh Kumar
d08088df74 New testcases for array_sum() function 2007-11-27 14:57:55 +00:00
Derick Rethans
1e9fec2a49 - 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
2007-11-22 10:18:30 +00:00
Jani Taskinen
d4664800ac - Added test for chown bug 2007-11-21 11:31:49 +00:00
Stanislav Malyshev
91701d34b0 test for 42866 2007-11-21 02:24:47 +00:00
Hannes Magnusson
1727c712b6 - Add support for optional values
- Add support for = as seperator
2007-11-20 22:42:47 +00:00
Johannes Schlüter
6e7ba5ba5f Add stream_supports_lock() function (Benjamin Schulz) 2007-11-20 22:16:20 +00:00
Dmitry Stogov
ab34cdc706 fixed SIGSEGV in chgrp() 2007-11-19 15:55:48 +00:00
Raghubansh Kumar
9c78f2c08b New testcases for sizeof() function 2007-11-16 17:52:26 +00:00
Raghubansh Kumar
7e84b55003 fix test for linux64 - choosing smaller float values 2007-11-16 17:35:38 +00:00
Raghubansh Kumar
87be9bfd14 fix tests: removed values that generate diff. output on Linux64 2007-11-16 17:11:01 +00:00
Antony Dovgal
c70b4662a5 fix test (thanks to Felipe Pena for noticing) 2007-11-15 22:14:04 +00:00
Hannes Magnusson
ebc540d2c9 - Allow numeric options
- Add tests
2007-11-15 13:11:48 +00:00
Raghubansh Kumar
185411fd0d New testcases for uasort() function 2007-11-14 17:21:09 +00:00
Derick Rethans
bf10f44aa2 - Add a testcase for chgrp() with a NULL as group name, which crashes ATM. 2007-11-14 15:51:35 +00:00
Hannes Magnusson
31aa5f545c MFB; Fix test 2007-11-14 15:22:45 +00:00
Hannes Magnusson
93850f2d70 MFB5.3: Fixed bug#43293 (Multiple segfaults in getopt()) 2007-11-14 14:55:44 +00:00
Dmitry Stogov
bc939dce43 Fixed bug #43248 (backward compatibility break in realpath()) 2007-11-13 09:47:19 +00:00
Raghubansh Kumar
d2ac4233b0 New testcases for ksort() function 2007-11-12 15:49:29 +00:00
Raghubansh Kumar
8ff0f5d766 new testcases for krsort() function 2007-11-12 15:44:47 +00:00
Raghubansh Kumar
f5c11b39b2 fix tests 2007-11-09 12:06:08 +00:00
Raghubansh Kumar
5d8097975c fix test : better float values 2007-11-09 08:49:28 +00:00
Raghubansh Kumar
6079ffd434 fix tests: better float values 2007-11-09 07:29:18 +00:00
Antony Dovgal
f7199024dc fix open tag 2007-11-08 13:34:35 +00:00
Dmitry Stogov
c49b08fe9a Fixed bug #43216 (stream_is_local() returns false on "file://") 2007-11-08 13:29:38 +00:00
Antony Dovgal
82d0dcd73c fix tests 2007-11-08 11:19:19 +00:00
Antony Dovgal
31699e093a fix test 2007-11-08 10:29:40 +00:00
Antony Dovgal
4cb29ab065 this error message may vary 2007-11-08 10:19:39 +00:00
Antony Dovgal
fcb4bfdcdf fix test 2007-11-08 10:13:18 +00:00
Antony Dovgal
39c5922c3c add missing 64bit version of the test 2007-11-08 10:06:52 +00:00
Antony Dovgal
c09a7e55b8 fix tests 2007-11-08 08:11:41 +00:00
Antony Dovgal
90da048857 fix tests 2007-11-07 12:05:55 +00:00
Jani Taskinen
a210bf4314 fix: #2 2007-11-06 13:44:04 +00:00
Jani Taskinen
a27600b42a - Fixed bug #43196 (array_intersect_assoc() crashes with non-array input)
# Note: Same problem was with array_diff_assoc()
2007-11-06 13:26:24 +00:00
Jani Taskinen
52cdef821b fix cleanup 2007-11-06 13:21:55 +00:00
Antony Dovgal
a579d09bb7 fix tests, add 64bit versions 2007-11-06 12:54:13 +00:00
Jani Taskinen
9679ba6a3d - nuke extra UEXPECTF 2007-11-06 12:09:12 +00:00
Jani Taskinen
4e64d593b5 - Fix another wrong expected result (this is a bug!) 2007-11-05 17:28:58 +00:00
Jani Taskinen
393140df52 - Fix another wrong expected result 2007-11-05 17:24:00 +00:00
Jani Taskinen
bf83ffb3f2 - Fix expected result. This has hidden an obvious bug.. 2007-11-05 17:09:26 +00:00
Raghubansh Kumar
57076f08dd New testcases for asort() function 2007-11-05 16:34:54 +00:00
Raghubansh Kumar
6f39caa6f5 Fix test title 2007-11-05 16:19:55 +00:00
Raghubansh Kumar
deb8a46c7b New testcases for sort() function 2007-11-05 15:17:10 +00:00
Raghubansh Kumar
7374d094b8 New testcases for array_intersect_assoc() function 2007-11-05 13:50:33 +00:00
Jani Taskinen
532761442d fix test 2007-11-02 12:57:52 +00:00
Jani Taskinen
231fcedd03 MFB52: Fixed bug #41686 2007-11-02 10:50:33 +00:00
Raghubansh Kumar
4025ace975 fix tests: proper temp file names 2007-11-02 03:57:48 +00:00
Raghubansh Kumar
bec1eaae7d fix tests: proper temp file names 2007-11-02 03:11:00 +00:00
Raghubansh Kumar
52f6591620 fix tests: better float values 2007-11-02 03:06:13 +00:00
Jani Taskinen
52e3ca0b32 fix test 2007-11-01 12:00:59 +00:00
Robert Nicholson
2f02142938 delete .project file 2007-11-01 10:32:28 +00:00
Robert Nicholson
8de1217c4d update min_error and max_error testcases to take into account bug fix for bug#43125 2007-11-01 08:43:12 +00:00
Jani Taskinen
7bd01cbce2 - Fix typo (bug #43125) 2007-10-31 13:39:00 +00:00
Jani Taskinen
eb1a26c8b2 - Fixed bug #43137 (rmdir() and rename() do not clear statcache) 2007-10-31 13:22:18 +00:00
Raghubansh Kumar
1fc0e6ddbe New testcases for shuffle() function 2007-10-27 12:24:06 +00:00
Raghubansh Kumar
0150849e42 New testcases for array_intersect() function 2007-10-27 12:13:05 +00:00
Robert Nicholson
dfda872d63 Remove unneeded INI sections 2007-10-26 16:10:16 +00:00
Raghubansh Kumar
2d8466b2af more testcases for array_unshift() function 2007-10-26 11:52:59 +00:00
Robert Nicholson
94c63b3442 new testcases for array_splice 2007-10-26 11:06:31 +00:00
Robert Nicholson
eea1a4458c new testcases for max and min 2007-10-26 10:57:59 +00:00
Raghubansh Kumar
ac26a3f893 more testcases for array_filter() function 2007-10-22 11:17:18 +00:00
Ilia Alshanetsky
ade493157b MFB: Fixed bug #42944 (test failing due to expectation that /etc/passwd has
0644 permissions).
2007-10-21 15:41:53 +00:00
Raghubansh Kumar
5a6c03eb73 New testcases for array_rand() function 2007-10-20 05:34:35 +00:00
Raghubansh Kumar
5d7aaf9798 New testcases for array_fill() function 2007-10-19 18:25:57 +00:00
Raghubansh Kumar
e9b634e0c4 New testcases for array_filter() function 2007-10-19 18:22:55 +00:00
Raghubansh Kumar
8b8d0541c2 New testcases for array_unshift() function 2007-10-19 09:19:57 +00:00
Dmitry Stogov
6fc398fba9 Fixed bug #42919 (Unserializing of namespaced class object fails) 2007-10-17 10:36:45 +00:00
Raghubansh Kumar
ee89cea00b New testcases for array_flip() function 2007-10-15 06:33:32 +00:00
Raghubansh Kumar
f36aae329a New testcases for array_reverse() function 2007-10-15 06:23:27 +00:00
Raghubansh Kumar
84bf8ae506 fix test (temp. file name) 2007-10-11 11:50:10 +00:00
Raghubansh Kumar
8e47cdd59b fix test 2007-10-11 03:17:08 +00:00
Raghubansh Kumar
adda3af3cb New testcases for strip_tags() function 2007-10-09 12:42:47 +00:00
Raghubansh Kumar
60d71da435 added unicode output 2007-10-09 11:58:52 +00:00
Raghubansh Kumar
bb27fe1933 fix tests 2007-10-09 11:51:48 +00:00
Raghubansh Kumar
aaa68d2928 fix tests 2007-10-09 05:22:51 +00:00
Raghubansh Kumar
87ebc71b60 fix tests 2007-10-09 04:52:47 +00:00
Raghubansh Kumar
28d292e580 New testcases for strtr() function 2007-10-08 15:31:06 +00:00
Raghubansh Kumar
7aab680f0a New testcases for get_html_translation_table() function 2007-10-08 15:30:38 +00:00
Raghubansh Kumar
e383670a5d fix tests 2007-10-08 06:24:57 +00:00
Raghubansh Kumar
dd24301ac6 New testcases for setlocale() function 2007-10-05 19:35:45 +00:00
Raghubansh Kumar
e379d3e914 New testcases for nl2br() function 2007-10-05 18:47:47 +00:00
Raghubansh Kumar
703626aa98 New testcases for strrpos() function 2007-10-05 18:35:49 +00:00
Raghubansh Kumar
0513f160c9 New testcases for str_split() function 2007-10-05 18:20:57 +00:00
Raghubansh Kumar
871cae6d64 New testcases for vsprintf() function 2007-10-05 18:12:36 +00:00
Jani Taskinen
d386401a1d fix test 2007-10-05 14:57:18 +00:00
David Soria Parra
ab38cc8d89 - Add an escape parameter to fgetcsv to satisfy rfc4180 and bug #40501. 2007-10-03 10:31:04 +00:00
Stanislav Malyshev
e920066a14 MFB unicode test 2007-10-03 05:08:47 +00:00
Antony Dovgal
8b2cf00c41 fix tests 2007-10-02 11:35:39 +00:00
Jani Taskinen
5569fd3005 MFB: fix test 2007-10-01 13:55:58 +00:00
Jani Taskinen
d762757ee5 - Fixed bug #42789 (join() warning messages are not proper & different
return value on php5/6)
# For consistency between 5/6 also made the return value be NULL like it
# has been for ages when invalid stuff is passed.
2007-10-01 12:04:09 +00:00
Jani Taskinen
50b34c8099 - Added unicode result 2007-10-01 12:01:28 +00:00
Raghubansh Kumar
413064b576 New testcases for sprintf() function 2007-09-29 14:15:53 +00:00
Raghubansh Kumar
fa61cf8a31 New testcases for chunk_split() function 2007-09-29 12:57:06 +00:00
Raghubansh Kumar
272cedd5d2 New testcases for strrchr() function 2007-09-29 09:24:27 +00:00
Raghubansh Kumar
46700e7a47 New testcases for stripos() function 2007-09-29 09:22:42 +00:00
Raghubansh Kumar
03d6500fb0 New testcases for join() function 2007-09-29 09:08:24 +00:00
Raghubansh Kumar
a40e2c843c New testcases for htmlspecialchars_decode() function 2007-09-29 09:03:22 +00:00
Nuno Lopes
f044c95b3c fix expected output 2007-09-28 22:40:23 +00:00
Jani Taskinen
f964370a35 - 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)

@DOC Pierre promised to handle the manual part of this :D
2007-09-28 02:04:28 +00:00
Raghubansh Kumar
ed72c6c50b new testcases for strrev() function 2007-09-26 14:42:15 +00:00
Raghubansh Kumar
38d1ab072f New testcases for crc32() function 2007-09-26 06:11:28 +00:00
Raghubansh Kumar
360f022c1a New testcases for strspn() function 2007-09-22 10:49:49 +00:00
Raghubansh Kumar
8a44a00593 New testcases for strcspn() function 2007-09-22 10:37:46 +00:00
Raghubansh Kumar
53569976d4 New testcases for strtok() function 2007-09-22 07:41:14 +00:00
Raghubansh Kumar
db756ffc96 replaced by array_search_variation1.phpt, hence removed. 2007-09-22 06:57:42 +00:00
Raghubansh Kumar
1c35a6365e update and split of testcases for functions array_search() and in_array() 2007-09-22 06:55:59 +00:00
Antony Dovgal
cd519f058c plug leak on error (coverity issue #405) 2007-09-21 13:50:47 +00:00
Stanislav Malyshev
3a5dc95ae4 add test for dl() with long name 2007-09-20 18:45:03 +00:00
Jani Taskinen
b11587f988 - Fix test descriptions to be in sync 2007-09-20 13:39:04 +00:00
Ilia Alshanetsky
c55bf5fc80 MFB: Fixed test for glob() affected by previous patch 2007-09-20 13:29:22 +00:00
Raghubansh Kumar
adb9c195f5 better output matching/fixes 2007-09-15 07:32:16 +00:00
Raghubansh Kumar
59d3bd8544 New testcase for strncasecmp() 2007-09-14 19:17:08 +00:00
Raghubansh Kumar
78fdb30718 New testcases for chop() 2007-09-14 19:14:52 +00:00
Raghubansh Kumar
35405b401a Removing from file dir as it was wrongly committed to this dir 2007-09-14 19:10:04 +00:00
Raghubansh Kumar
3aae429b88 New testcases for wordwrap() 2007-09-14 19:09:11 +00:00
Zoe Slattery
05da39cb03 Changing to use %a to match recent run-tests.php patch 2007-09-14 16:56:34 +00:00
Nuno Lopes
db5f5d6bd7 MFB: change run-tests.php to add %a 2007-09-14 15:36:29 +00:00
Nuno Lopes
619ddc2679 MFB: fix expected output 2007-09-14 15:04:46 +00:00
Raghubansh Kumar
c0a64e0cba better comments 2007-09-14 14:28:42 +00:00
Raghubansh Kumar
0bbb0489ec New testcases for wordwrap() 2007-09-14 14:17:22 +00:00
Raghubansh Kumar
798aa19de7 fix test 2007-09-14 09:44:02 +00:00
Nuno Lopes
bd6f705895 MFB 2007-09-13 19:52:45 +00:00
Nuno Lopes
fbd1076132 MFB: fix expected output 2007-09-13 18:56:21 +00:00
Nuno Lopes
7ee5d8c6c9 MFB: fix skip reasons 2007-09-13 18:26:12 +00:00
Ilia Alshanetsky
7877150f49 MFB: Added a note indicating that the tests may fail to due libc
implementation
2007-09-13 15:36:50 +00:00
Raghubansh Kumar
9aaf21fc0f marked with Bug #42038 2007-09-12 09:49:25 +00:00
Raghubansh Kumar
5a69a2341e marked with bug#42638 2007-09-12 08:29:34 +00:00
Raghubansh Kumar
957f3ddd71 fix test 2007-09-11 05:23:45 +00:00
Antony Dovgal
1d42952da9 fix tests 2007-09-10 10:33:00 +00:00
Antony Dovgal
2c354acaf7 remove the original 2007-09-09 22:47:47 +00:00
Antony Dovgal
b9faefee14 MFB: split test 2007-09-09 22:47:23 +00:00
Raghubansh Kumar
fdf0a9e6a1 New testcases for ucwords() function 2007-09-07 14:43:24 +00:00
Raghubansh Kumar
e47194d4dc New testcases for strncmp() function 2007-09-07 14:22:56 +00:00
Raghubansh Kumar
aecb1354e3 New testcases for stripslashes() function 2007-09-07 14:03:33 +00:00
Zoe Slattery
1c99d1b141 made equivalent (to php5 test) changes to the expected output. Although this test did originally have the right EXP section 2007-09-07 11:06:48 +00:00
Raghubansh Kumar
87632ef25c New testcases for addslashes() function 2007-09-06 04:02:56 +00:00
Zoe Slattery
8e59bf05cb Test cases for sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, asinh, acosh, atanh. 2007-09-04 11:18:35 +00:00
Raghubansh Kumar
81313aed39 fix tests 2007-09-04 08:39:40 +00:00
Derick Rethans
773fe3adc7 - Fixed bug #42512 (ip2long('255.255.255.255') should return 4294967295 on
64-bit PHP).
2007-09-01 18:37:27 +00:00
Raghubansh Kumar
668d2d59c2 fix tests: do not run when noatime set 2007-08-30 04:02:57 +00:00
Raghubansh Kumar
57bc6ad6bb fix tests: do not run on MACOS 2007-08-29 10:13:25 +00:00
Raghubansh Kumar
ae2808fdb8 fix test, do not run on macos 2007-08-29 04:37:17 +00:00
Zoe Slattery
b2c5bdfd98 adding check for rc1 to version-compare test 2007-08-24 14:46:34 +00:00
Raghubansh Kumar
6ff029a37d fix tests 2007-08-23 09:34:15 +00:00
Raghubansh Kumar
1419d23f6a fix test: skip if user is root 2007-08-20 04:08:15 +00:00
Raghubansh Kumar
66fe5012a2 fix tests 2007-08-20 03:40:41 +00:00
Raghubansh Kumar
1aad43dc22 fix test: skip if user is root 2007-08-20 03:14:58 +00:00
Raghubansh Kumar
4669c2d40a fix test 2007-08-16 16:33:16 +00:00
Raghubansh Kumar
ae5dcdccf2 fix tests 2007-08-14 14:10:31 +00:00
Raghubansh Kumar
1514977352 New testcase for clearstatcache() function 2007-08-13 11:50:47 +00:00
Raghubansh Kumar
c0ebb17904 New testcase for parse_ini_file() function 2007-08-13 11:37:11 +00:00
Jani Taskinen
bdd54e7c9b MFB: Fix tests + directory check inside copy() function 2007-08-13 08:14:03 +00:00
Raghubansh Kumar
721e2ab3a7 New testcases for fgetss() function 2007-08-12 06:55:52 +00:00
Raghubansh Kumar
c7d2d62a02 More new testcases for fopen() & fclose() functions 2007-08-12 05:14:13 +00:00
Antony Dovgal
ceb482dfb1 more fixed tests 2007-08-11 22:42:19 +00:00
Antony Dovgal
44d8314d9c fix tests failing on 64bit 2007-08-11 22:18:33 +00:00
Raghubansh Kumar
30a08a895b New testcases for fscanf() function 2007-08-10 17:56:45 +00:00
Raghubansh Kumar
fb3c7a7250 New testcases for htmlentities() & htmlspecialchars() 2007-08-10 15:08:45 +00:00
Antony Dovgal
ee8851dfda split the test 2007-08-10 13:27:05 +00:00
Jani Taskinen
28cf1788a9 MFB: Fixed the fix for bug #42233 and added test for it. 2007-08-10 12:23:16 +00:00
Antony Dovgal
edb216d3dc fix tests 2007-08-10 12:10:19 +00:00
Raghubansh Kumar
96fc4edc59 more new testcases for tempnam() function 2007-08-10 03:33:00 +00:00
Raghubansh Kumar
b71984f4bc New testcases for strtolower() and strtoupper() functions 2007-08-10 03:05:00 +00:00
Raghubansh Kumar
752ead40e2 More new testcases for copy() function 2007-08-10 02:58:50 +00:00
Raghubansh Kumar
6cb89102e7 New testcases for tempnam() function 2007-08-09 03:35:22 +00:00
Raghubansh Kumar
8d87a8cf70 New testcases for fgetcsv() function 2007-08-08 13:15:01 +00:00
Raghubansh Kumar
34a7853c49 More testcases for fputcsv() function 2007-08-08 13:09:42 +00:00
Raghubansh Kumar
e2d9b55057 New testcases for fputcsv() function 2007-08-08 03:55:05 +00:00
Jani Taskinen
def23a6e7d MFB: Test for bug #42208. Fix is not needed in HEAD, zend_parse_parameters is used here 2007-08-05 19:54:42 +00:00
Jani Taskinen
b0b1438882 - Fixed bug #42107 (sscanf broken when using %2$s type format parameters) 2007-07-26 15:23:31 +00:00
Raghubansh Kumar
6842c58737 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:55:42 +00:00
Dmitry Stogov
11c5577116 Fixed EOF handling in case of reading from file opened in write only mode. 2007-07-25 16:34:27 +00:00
Dmitry Stogov
cb27d5dbae Fixed test 2007-07-24 20:03:30 +00:00
Antony Dovgal
adf53be4ed fix test 2007-07-23 22:14:41 +00:00
Jani Taskinen
8eaa978e97 - Fixed str_pad() when passed huge negative pad_length 2007-07-23 13:27:34 +00:00
Jani Taskinen
7bfd857fa1 MFB: Fixed "Floating point exception" inside wordwrap() 2007-07-23 11:47:44 +00:00
Jani Taskinen
6b7c17e222 fix descriptions 2007-07-23 10:45:53 +00:00
Raghubansh Kumar
d4b7248e8a More new testcases for glob() 2007-07-23 10:45:11 +00:00
Jani Taskinen
0a625249c3 fix test descriptions 2007-07-23 10:44:04 +00:00
Antony Dovgal
9f46c89c3b more tests 2007-07-23 09:14:28 +00:00
Dmitry Stogov
16fa4dcbf7 Fixed wrong expectation 2007-07-23 08:57:47 +00:00
Raghubansh Kumar
c06a7d5ffd New testcases for glob() function 2007-07-23 05:25:19 +00:00
Raghubansh Kumar
e5a2101c2a More new testcases for fread() function 2007-07-22 17:38:48 +00:00
Raghubansh Kumar
00ecf433a6 New testcases for fread() functions 2007-07-22 17:30:27 +00:00
Raghubansh Kumar
7c205bb294 smaller testcases for stat() function on Windows 2007-07-22 12:32:45 +00:00
Raghubansh Kumar
3f04550eea New testcases for ftruncate() function 2007-07-22 12:30:53 +00:00
Raghubansh Kumar
995caaf5ba fix tests 2007-07-22 12:28:31 +00:00
Raghubansh Kumar
c4e10a6be1 New testcases for umask() function 2007-07-21 18:18:23 +00:00
Raghubansh Kumar
aeac0426f5 New testcases for lstat() and stat() functions 2007-07-21 17:27:45 +00:00
Raghubansh Kumar
cde94cb7b1 New testcases for is_file() function 2007-07-21 17:25:59 +00:00
Raghubansh Kumar
e889f297f3 New testcases for is_dir() function 2007-07-21 17:24:29 +00:00
Raghubansh Kumar
e41c15f71e New testcases for fseek(), ftell() & rewind() functions 2007-07-21 17:22:32 +00:00
Raghubansh Kumar
edad34bd15 New testcases for fflush() function 2007-07-21 17:19:27 +00:00
Raghubansh Kumar
75ad7fa7db New testcases for fwrite(), fgetc() and fgets() functions 2007-07-21 08:01:25 +00:00
Raghubansh Kumar
c61fda5b94 Fix for fill_file() function in file.inc
New testcases for readfile() and umask() functions
2007-07-20 18:09:11 +00:00
Antony Dovgal
44df63c8ae fix tests, add 64bit versions 2007-07-19 15:15:15 +00:00
Antony Dovgal
383a8264e9 split the test 2007-07-19 15:04:05 +00:00
Antony Dovgal
bbf8afc3a4 make sure the cache is flushed when doing stat calls 2007-07-19 12:16:24 +00:00
Raghubansh Kumar
dc721705af New testcases for filesystem handling function : unlink() 2007-07-18 04:57:25 +00:00
Raghubansh Kumar
eadb9f96c1 fix tests 2007-07-16 18:02:11 +00:00
Raghubansh Kumar
b4c1b36999 New testcases 2007-07-16 17:36:33 +00:00
Jani Taskinen
d7e208a6c6 - Use explode instead of split (ereg goes bye bye..) 2007-07-16 12:35:33 +00:00
Antony Dovgal
febe567acb split test 2007-07-16 10:59:07 +00:00
Antony Dovgal
b28ea6b885 fix test 2007-07-16 10:39:34 +00:00
Jani Taskinen
41c6375840 - Moved the old regex functions to it's own extension: ereg 2007-07-15 19:50:07 +00:00
Antony Dovgal
44d1ccca25 fix test 2007-07-13 17:15:12 +00:00
Antony Dovgal
6e5c6bbd26 add key values to the output 2007-07-13 17:07:33 +00:00
Antony Dovgal
d8354fe6ff add 64bit version 2007-07-13 16:42:42 +00:00
Antony Dovgal
38283545ee split one more huge test into several smaller ones 2007-07-13 16:39:55 +00:00
Antony Dovgal
2c0bd79e91 fix test, add 64bit version 2007-07-13 16:07:42 +00:00
Antony Dovgal
c601b252a0 fix %u in Unicode mode 2007-07-13 15:52:38 +00:00
Zoe Slattery
052e62c4cf Assert test cases 2007-07-13 15:17:28 +00:00
Zoe Slattery
84686c5b8f Assert test 2007-07-13 14:57:32 +00:00
Antony Dovgal
71148ce268 fix test 2007-07-13 09:13:58 +00:00
Jani Taskinen
261c38876a fix test 2007-07-12 17:43:34 +00:00
Jani Taskinen
08c67fa3c4 - Added test for bug #41815 2007-07-12 11:07:29 +00:00
Antony Dovgal
469e93ef35 fix test 2007-07-12 09:26:28 +00:00
Antony Dovgal
86c819cede fix #41970 (call_user_func_*() leaks on failure) 2007-07-12 09:19:04 +00:00
Johannes Schlüter
c853428779 Fix test for unicode mode 2007-07-11 15:46:20 +00:00
Dmitry Stogov
89aef801cf Fixed tests 2007-07-11 12:57:55 +00:00
Dmitry Stogov
e51458cd76 Fixed test 2007-07-10 15:19:13 +00:00
Dmitry Stogov
644c0c6a51 Fixed limit warnings in non-unicode mode 2007-07-10 14:16:40 +00:00
Dmitry Stogov
1f8c608320 Fixed symlink("", "somthing") and link("", "somthing") in ZTS mode 2007-07-10 13:21:31 +00:00
Raghubansh Kumar
056130b3dd fix and new test for sunos 2007-07-10 07:26:31 +00:00
Raghubansh Kumar
2de2f8facd These testcases are now split into smaller testcases, hence being deleted 2007-07-09 17:52:42 +00:00
Raghubansh Kumar
7757829df0 Fix and smaller testcases for mkdir_rmdir_variation.phpt, readlink_realpath_basic.phpt, readlink_realpath_error.phpt & readlink_realpath_variation.phpt 2007-07-09 17:40:16 +00:00
Dmitry Stogov
18f8b258b9 Fixed test 2007-07-09 15:27:58 +00:00
Dmitry Stogov
d71bcb658c Proper fix for MOPB-29 2007-07-09 14:33:37 +00:00
Dmitry Stogov
204f671029 Fixed tests 2007-07-09 11:38:34 +00:00
Raghubansh Kumar
985df6212e These files are now split into one or more smaller testcases, hence being deleted. 2007-07-08 12:51:03 +00:00
Raghubansh Kumar
343f87658b Fix and smaller testcases for is_executable_variation.phpt, is_readable_variation.phpt & is_writable_variation.phpt 2007-07-06 18:28:33 +00:00
Raghubansh Kumar
301b356568 Better check for root user 2007-07-06 03:24:27 +00:00
Raghubansh Kumar
6c081bba9b 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:59:20 +00:00
Dmitry Stogov
f766275b7a 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-03 10:22:55 +00:00
Raghubansh Kumar
070632248f Smaller testcases for 006_variation.phpt, file_get_contents_file_put_contents_variation.phpt, 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:13:04 +00:00
Antony Dovgal
c27fff27be cleanup tmp files 2007-06-29 12:56:08 +00:00
Antony Dovgal
06f739c018 divide the test into smaller ones 2007-06-29 12:54:06 +00:00
Antony Dovgal
d4dcb545a7 more smaller tests 2007-06-28 16:05:51 +00:00
Antony Dovgal
3fcda7c0a7 divide array_search.phpt into several smaller tests 2007-06-28 15:26:55 +00:00
Antony Dovgal
0f47d4b28c MFB 2007-06-28 15:11:13 +00:00
Antony Dovgal
d6940afe0b more smaller tests 2007-06-28 15:04:16 +00:00
Antony Dovgal
03c8220ecc divide the test into several smaller ones 2007-06-28 14:51:25 +00:00
Antony Dovgal
b3c372210b fix #41445 (parse_ini_file() has a problem with certain types of integer as sections) 2007-06-26 12:08:50 +00:00
Antony Dovgal
6437c3ba3a fix test 2007-06-25 21:24:37 +00:00
Antony Dovgal
d58b7c8921 fix test 2007-06-25 17:10:07 +00:00
Dmitry Stogov
0caea15ec7 Fixed tests 2007-06-25 09:02:07 +00:00
Dmitry Stogov
5b29e664b4 Better fix for bug #41655 2007-06-25 08:40:36 +00:00
Pierre Joye
fef59c06bd - MFB: add test cases for #41655 2007-06-22 12:36:55 +00:00
Raghubansh Kumar
b96915cd5c New tests for file system handling functions 2007-06-22 08:14:16 +00:00
Raghubansh Kumar
35f3b30d64 New tests for file system handling functions 2007-06-21 21:14:21 +00:00
Raghubansh Kumar
96ced8a39a New functons to compare stat array 2007-06-21 21:08:38 +00:00
Derick Rethans
ad8eca0b05 - Added the H modifier to create non-locale-aware non-fixed-precision float
representations.
- 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:19:27 +00:00
Raghubansh Kumar
0465ee4006 New tests for file system handling functions 2007-06-18 19:51:11 +00:00
Dmitry Stogov
af598946f1 Fixed crash in substr_compare()
Fixed error messages
2007-06-18 13:39:02 +00:00
Dmitry Stogov
d4ef7f0f75 Fixed test 2007-06-18 11:54:02 +00:00
Dmitry Stogov
48012d80e1 Fixed yet another realpath cache bug and wrong tests 2007-06-18 09:51:03 +00:00
Dmitry Stogov
f5b083dc3d Fixed test 2007-06-18 07:45:24 +00:00
Dmitry Stogov
44249ed376 Fixed test 2007-06-15 08:16:23 +00:00
Dmitry Stogov
455cb3e672 Prevent memory overflow 2007-06-15 08:05:15 +00:00
Raghubansh Kumar
6e14524d5e New tests for file system handling functions 2007-06-14 20:30:16 +00:00
Zoe Slattery
affcaa4cb5 Tests are not valid if run by root - adding check to skip is user is root. 2007-06-14 16:15:50 +00:00
Raghubansh Kumar
d827201d8c New tests for file system handling functions 2007-06-13 22:46:37 +00:00
Raghubansh Kumar
f31ae00184 New tests for file handling system functions 2007-06-11 16:40:27 +00:00
Ilia Alshanetsky
60a7d31254 MFB: Added missing format validator to unpack() function 2007-06-06 22:04:47 +00:00
Stanislav Malyshev
f011c37849 fix test format 2007-06-06 17:47:15 +00:00
Stanislav Malyshev
56773a566a add some edge cases 2007-06-06 17:14:59 +00:00
Stanislav Malyshev
32d94ed6cd add moneyformat test 2007-06-06 17:13:18 +00:00
Zoe Slattery
a6ac3f8c20 New tests for file handling 2007-06-06 12:50:06 +00:00
Zoe Slattery
4f38742d2f fixed file permission for new empty file 2007-06-06 12:48:13 +00:00
Zoe Slattery
ce111057a4 Fixing incorrect comment in test cases fileinode_variation and filetype_variation 2007-06-05 11:32:45 +00:00
Zoe Slattery
484e14354e new test cases for general functions 2007-06-05 09:21:54 +00:00
Zoe Slattery
bdc7acb0d4 New test cases for file system functions 2007-06-05 09:20:17 +00:00
Zoe Slattery
c7590816d5 Updated test output in line with changes to file.inc 2007-06-05 07:57:48 +00:00
Zoe Slattery
bcb5c46495 Added fill_buffer() and fixed file_fill() to write binary data only 2007-06-05 07:54:58 +00:00
Antony Dovgal
b90fc7e0e4 clean up temp file 2007-06-04 17:18:28 +00:00
Zoe Slattery
3ee8de4afb missing ?> in skipif section 2007-06-04 17:00:44 +00:00
Brian Shire
5361f1838b MFB: fix sprintf/printf %u tests so they work correctly on both 32-bit and 64-bit. (broken in previous fix) 2007-06-04 01:23:22 +00:00
Ilia Alshanetsky
9cfd000ba3 MFB: Corrected fix for CVE-2007-2872 2007-06-03 18:53:51 +00:00
Antony Dovgal
cd7750e4ba fix #41518 (file_exists() warns of open_basedir restriction on non-existent file) 2007-06-01 13:33:48 +00:00
Ilia Alshanetsky
8cd0541be1 MFB: Fixed an interger overflow inside chunk_split(), identified by
Gerhard Wagner
2007-05-30 00:38:00 +00:00
Ilia Alshanetsky
16c9af1c7d MFB 2007-05-29 20:11:23 +00:00
Antony Dovgal
fb2ebbf23e fix tests, add 64bit versions 2007-05-29 12:42:19 +00:00
Antony Dovgal
28747bebc9 fix tests 2007-05-29 12:26:59 +00:00
Antony Dovgal
deba560f57 fix test 2007-05-29 12:17:37 +00:00
Antony Dovgal
857834365b fix tests in unicode mode 2007-05-29 12:10:20 +00:00
Antony Dovgal
f243356f5e fix tests 2007-05-29 10:25:21 +00:00
Zoe Slattery
863ee40af2 New tests for file/general_functions/strings 2007-05-25 13:50:06 +00:00
Antony Dovgal
6af0020d9c fix test 2007-05-22 16:57:18 +00:00
Antony Dovgal
60afeec652 fix tests 2007-05-22 16:56:47 +00:00
Raghubansh Kumar
b609c75148 New version of gettype_settype_basic.phpt, gettype_settype_variation3.phpt, gettype_settype_variation7.phpt, gettype_settype_error.phpt, gettype_settype_variation4.phpt, gettype_settype_variation8.phpt, gettype_settype_variation1.phpt, gettype_settype_variation5.phpt, gettype_settype_variation2.phpt, gettype_settype_variation6.phpt 2007-05-22 16:06:44 +00:00
Raghubansh Kumar
6d36305465 New version of basename_basic.phpt basename_error.phpt basename_variation.phpt 2007-05-22 16:03:57 +00:00
Antony Dovgal
f996452e8b improve variable name checks
add more tests
2007-05-22 14:32:40 +00:00
Zoe Slattery
36de378220 Updated range() test 2007-05-16 21:10:57 +00:00
Antony Dovgal
326ee7c499 fix test 2007-05-15 14:25:50 +00:00
Scott MacVicar
ecab534aa8 MFB: Fixed bug #41347 (checkdnsrr() segfaults on empty hostname). 2007-05-14 14:38:29 +00:00
Antony Dovgal
5955f884b9 fix tests, add UEXPECTF 2007-05-14 13:05:29 +00:00
Raghubansh Kumar
1e657336cf New version of debug_zval_dump_b.phpt, debug_zval_dump_v.phpt, is_float.phpt, is_numeric.phpt, is_string.phpt, var_dump.phpt, debug_zval_dump_e.phpt, is_array.phpt, is_int.phpt, is_object.phpt, print_r.phpt,
debug_zval_dump_o.phpt, is_bool.phpt, is_null.phpt, is_scalar.phpt, strval.phpt
2007-05-12 12:18:13 +00:00
Raghubansh Kumar
8be498b45e New version of addcslashes.phpt, implode1.phpt, strpos.phpt, str_replace.phpt, substr_count.phpt, trim1.phpt, chr_ord.phpt, md5_file.phpt, str_repeat.phpt, strstr.phpt, substr.phpt 2007-05-12 12:12:26 +00:00
Raghubansh Kumar
c7cec34d11 New version of 005.phpt, array_keys.phpt, array_values.phpt, extract.phpt, 009.phpt, array_map.phpt, each.phpt, array_change_key_case.phpt, array_pop.phpt, end.phpt, array_key_exists.phpt, array_search.phpt, extract.php 2007-05-12 11:20:52 +00:00
Antony Dovgal
483c3034bc fix segfault in strripos() when offset == INT_MAX+1
identified and repoted by Joxean Koret
2007-05-10 22:08:35 +00:00
Antony Dovgal
764b33ef79 flush output buffer when/if highlight_string()/php_strip_whitespace()/highlight_string() fail 2007-05-10 16:27:16 +00:00
Antony Dovgal
3d980a73cf cleanup temp test data 2007-05-10 12:22:49 +00:00
Antony Dovgal
806ebfb3f5 fix segfault in iptcembed() 2007-05-10 12:21:42 +00:00
Antony Dovgal
2d087e6deb fix tests 2007-05-07 22:33:39 +00:00
Antony Dovgal
57a1dc0757 fix test 2007-05-07 21:38:35 +00:00
Antony Dovgal
ccd97f3a21 fix test names 2007-05-07 17:23:53 +00:00
Antony Dovgal
8d9be0338b fix test names 2007-05-07 16:50:40 +00:00
Hannes Magnusson
be57963e00 Fix test
# pcre is required for the test suite so no need to check for it
# reflection can however be disabled
2007-05-06 13:11:11 +00:00
Dmitry Stogov
b890450e84 Fixed test 2007-05-02 07:27:52 +00:00
Antony Dovgal
419c5b3db1 fix tests
add test for yet not merged fix
2007-04-26 23:42:36 +00:00
Antony Dovgal
47d3276cd7 removed unused highlight.bg ini option 2007-04-26 09:39:03 +00:00
Antony Dovgal
b9e9832a85 fix tests 2007-04-22 19:47:08 +00:00
Johannes Schlüter
968608f8db - Fix test 2007-04-21 02:46:29 +00:00
Antony Dovgal
a09d5573f7 fix tests 2007-04-20 21:37:31 +00:00
Antony Dovgal
714e348b9f open the file in text mode and avoid downcoding 2007-04-20 21:17:37 +00:00
Antony Dovgal
65e565a08e fix tests 2007-04-20 21:13:45 +00:00
Dmitry Stogov
fbccef91d7 Fixed tests (win32) 2007-04-18 14:51:47 +00:00