Commit Graph

6062 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
Dmitry Stogov
1d0f893b49 Lazy EG(active_symbol_table) initialization 2008-04-29 08:15:49 +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
Jani Taskinen
009ac20f20 - missed one line 2008-04-15 09:02:16 +00:00
Jani Taskinen
263b1aa1d2 - Readd config_get_has(). No need to document, it is only available for debug builds. 2008-04-15 08:43:48 +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
Etienne Kneuss
607d8114a7 Fix dns_check_proto (related to #44723) 2008-04-14 16:49: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
Philip Olson
9de8833bea Updated the documentation credits 2008-04-10 05:30:34 +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
Ilia Alshanetsky
c8d256ed2f MFB: Fixed bug #44603 (Order issues with Content-Type/Length headers on
POST)
2008-04-06 15:21:45 +00:00
Ilia Alshanetsky
e831c158c8 Revert unintended bits from "Added a warning message" commit 2008-03-31 22:44:38 +00:00
Felipe Pena
2fba4f5e61 - Fix build 2008-03-30 15:31:33 +00:00
Ilia Alshanetsky
c22a23ccd5 MFB: Added a warning message 2008-03-30 15:06:07 +00:00
Felipe Pena
223b7349a0 MFB: Fixed bug #44564 (escapeshellarg removes UTF-8 multi-byte characters) 2008-03-30 12:27:37 +00:00
Felipe Pena
4a5536a033 - Fixed bug #44533 (floatval() issues E_NOTICE "non well formed numeric value")
(Keep the old behavior, as other related functions)
2008-03-29 22:02:20 +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
Felipe Pena
b859ca7770 - Fixed compilation warnings 2008-03-22 20:37:08 +00:00
Marcus Boerger
34898339b5 - Add new test 2008-03-21 15:18:18 +00:00
Antony Dovgal
e128a1d885 fix ZTS build 2008-03-21 08:28:09 +00:00
Ilia Alshanetsky
b986dfaaae MFB: Refine fix for multibyte char hanling inside command names and args 2008-03-20 23:26:01 +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
da036996be make use of zend_atol() 2008-03-19 12:40:48 +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
Felipe Pena
2c7b9a55cb Fix build 2008-03-18 00:37:35 +00:00
Stanislav Malyshev
8a6c836497 fix integer overflow in lenght calculation 2008-03-17 23:07:55 +00:00
Ilia Alshanetsky
8b32865ffc MFB: Properly address incomplete multibyte chars inside escapeshellcmd() 2008-03-17 23:02:35 +00:00
Antony Dovgal
a8127d612d fix test 2008-03-17 15:35:25 +00:00
Felipe Pena
ba05723fd9 Sync with fix for #44394 2008-03-12 19:35:24 +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
Gwynne Raskind
7abf0787ad Fix build (one too many right parenthesis in last commit for non-Windows builds) 2008-03-07 08:51:05 +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
Stanislav Malyshev
123b31cb52 improve seed calculation
# better solution would be to port mt's multi-value seed procedure
2008-03-07 03:39:29 +00:00
Robin Fernandes
f0acfb157d Add new tests for class/object functions and features. 2008-03-06 11:07:29 +00:00
Pierre Joye
be4cb471ef - MFB: #40013, php_uname() does not return nodename on Netware
(Guenter Knauf)
2008-03-05 21:18:26 +00:00
Felipe Pena
702a290aba Fix test 2008-03-05 14:22:06 +00:00
Antony Dovgal
5c46c52f09 apply better fix, so that the default handle would be closed when closing its reference 2008-03-05 12:09:33 +00:00
Antony Dovgal
41bd0ca803 fix memory corruption due to double destruction of default dir handle
(detected by ext/standard/tests/dir/readdir_variation6.phpt)
2008-03-05 09:28:41 +00:00
Felipe Pena
2818d4fc51 New way for check void parameters 2008-03-04 23:39:15 +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
Ilia Alshanetsky
09799b7539 MFB: Fixed bug #44306 (Better detection of MIPS processors on Windows) 2008-03-02 15:36:24 +00:00
Dmitry Stogov
e338f39423 We don't nave to change request shutdown sequence if dl() was failed 2008-02-28 16:59:21 +00:00
Felipe Pena
748677148c Fixed tests 2008-02-28 15:28:00 +00:00
Felipe Pena
a1e8d340c3 New macro for check void parameters 2008-02-28 14:16:25 +00:00
Felipe Pena
6562201156 MFB: Improved fix for #44242 2008-02-27 01:25:40 +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
997b877aa4 Removed internal warning 2008-02-24 11:49:39 +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
Felipe Pena
93722d35b0 Change some E_STRICTs to E_DEPRECATED 2008-02-23 18:29:16 +00:00
Marcus Boerger
6b58678c63 - Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus) 2008-02-23 17:03:53 +00:00
Felipe Pena
33c6806efe Fixed Bug #44212 (array_diff_assoc not reporting missing arguments) 2008-02-22 13:48:02 +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
Ilia Alshanetsky
2339c30a61 MFB: Fixed a possible crash with syslog logging on ZTS builds 2008-02-20 15:27:47 +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
Antony Dovgal
97385e1dca recursion protection in count() 2008-02-15 09:33:00 +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
0f9a030d87 MFB: Fixed Bug #42838 (Wrong results in array_diff_uassoc) 2008-02-14 14:17:32 +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
Dmitry Stogov
7412aae873 Fixed memory leak 2008-02-14 08:46:42 +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
fd18a414a0 MFB: array_slice() - Fixed behavior when NULL is given in third parameter (BC) 2008-02-12 01:49:42 +00:00
Stanislav Malyshev
846cb3d56e fix build 2008-02-12 01:30:58 +00:00
Felipe Pena
1573f8c01c New test 2008-02-12 01:21:29 +00:00
Stanislav Malyshev
1a368f6f8b MFB __DIR__ constant support 2008-02-12 01:04:08 +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
Antony Dovgal
1d540b4255 this is integer, not pointer 2008-02-11 13:34:26 +00:00
Johannes Schlüter
6595b0dc5e The exact message differs on different systems 2008-02-10 23:36:27 +00:00
Felipe Pena
9d229c7f7c Fixed Bug #42229 (fgetcsv() behaves differently for a file containing '\n' with php5 and php6) 2008-02-10 04:09:12 +00:00
Felipe Pena
6420454991 New test 2008-02-10 03:55:39 +00:00
Felipe Pena
c1bdb769a0 Fixed Bug #42163 (fgetcsv() gives different output with and without Unicode) 2008-02-10 02:13:37 +00:00