Commit Graph

1726 Commits

Author SHA1 Message Date
Ant Phillips
4d3f948495 Revert to the previous version for these tests as they were overwritten by mistake (checked on Windows but not on Linux... so the six skipped tests may not work correctly... but they should be ok and I'll watch the test results). 2008-12-30 16:38:17 +00:00
Felipe Pena
7f74e97e3e - Unicodify (#46687) 2008-12-28 20:16:48 +00:00
Brian Shire
d6a1c7a674 fix explode behavior to respect negative limit when string is empty. 2008-12-27 05:13:30 +00:00
Arnaud Le Blanc
3b0cd9f644 Fixed bug #46873 (extract($foo) crashes if $foo['foo'] exists) 2008-12-27 03:06:16 +00:00
Lars Strojny
d2520327a2 Adding test for stream_resolve_include_path() 2008-12-20 16:23:37 +00:00
Arnaud Le Blanc
c00195e6b5 Fixed test 2008-12-18 16:04:38 +00:00
Steve Seear
433d52facc call_user_func_array() tests 2008-12-15 14:11:35 +00:00
Zoe Slattery
e028ad839f fixed test 2008-12-15 13:16:35 +00:00
Lars Strojny
7611a5d984 MFB: If a wrapper could not be found it is either a typo or a configuration issue. But in both cases it is critical enough to warn the user. [DOC] (?) 2008-12-14 16:27:30 +00:00
Hannes Magnusson
effa82043b Fixed bug#46681 (mkdir() fails silently on PHP 5.3) 2008-12-12 12:40:58 +00:00
Antony Dovgal
475b6bd043 fix test 2008-12-09 14:49:12 +00:00
Hannes Magnusson
0ff6d5f45b MFB5.3: Fix test 2008-12-09 12:56:39 +00:00
Hannes Magnusson
70bb87687d MFB: Add test for runtime tightening of open_basedir 2008-12-09 10:21:27 +00:00
Ant Phillips
4021b612bf Remove duff comment produced by the test generator tool 2008-12-05 14:18:00 +00:00
Ant Phillips
8c0a7983db Array tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-05 14:11:03 +00:00
Stanislav Malyshev
b75a707ab1 fix test 2008-12-04 20:22:12 +00:00
Johannes Schlüter
67115cdf6a One more cleanup after running tests 2008-12-03 20:30:35 +00:00
Ant Phillips
95c78609ef Put bug number in the XFAIL section for cross referencing 2008-12-03 12:39:54 +00:00
Johannes Schlüter
6a270c3bf8 Cleanup after running the tests ... 2008-12-03 11:27:11 +00:00
Christian Seiler
2836cce10b - Implemented http://wiki.php.net/rfc/rounding 2008-12-02 16:25:06 +00:00
Ant Phillips
ba7bc0ace4 Array tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-02 13:29:17 +00:00
Iain Lewis
f27f49cf96 Adding tests for array_multisort 2008-12-01 17:10:14 +00:00
Ant Phillips
0920ed8861 Directory tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-27 14:49:14 +00:00
Ant Phillips
977a9400fe File system tests: checked on PHP 6.0 latest snap (Windows, Linux and Linux 64 bit) - there are quite a large number of failing test cases (all marked with an XFAIL section), they wiill have bugs raised to cover the issues real soon now... 2008-11-26 17:48:41 +00:00
Arnaud Le Blanc
c8f24ea5bd Fixed bug #46673 (stream_lock call with wrong paramater) 2008-11-26 04:18:24 +00:00
Arnaud Le Blanc
eef1ad9ddf [DOC] Added ENT_IGNORE as a compatibility flag for htmlentities() and
htmlspecialchars() to skip multibyte sequences intead of returning an
empty string (as iconv's //IGNORE). These functions will still never
return an invalid or incomplete multibyte sequence.
Example: htmlspecialchars("...", ENT_QUOTES | ENT_COMPAT, "utf-8");
2008-11-26 02:57:32 +00:00
Arnaud Le Blanc
1064f9721b Fixed bugs #44181 & #44182 (extract() and references)
(robin_fernandes at uk dot ibm dot com)
2008-11-26 00:59:13 +00:00
Iain Lewis
e512037ced Adding some tests for array_product 2008-11-24 17:36:44 +00:00
Felipe Pena
3b06b39d54 - Fixed bug #46578 (strip_tags() does not honor end-of-comment when it encounters a single quote) 2008-11-21 19:14:47 +00:00
Felipe Pena
12c2d80194 - Fixed tests 2008-11-19 16:59:17 +00:00
Arnaud Le Blanc
e1fcaeef9d Added stream_cast() and stream_set_options() to user-space stream
wrappers, allowing stream_select(), stream_set_blocking(),
stream_set_timeout() and stream_set_write_buffer() to work with user-space
stream wrappers.
Will document.
2008-11-15 12:50:17 +00:00
Arnaud Le Blanc
f24bc6f421 Added stream_context_get_params()
[DOC] proto bool stream_context_get_params(resource context|stream)
      Get parameters of a file context (parameters set by
      stream_context_set_params())
2008-11-13 05:46:51 +00:00
Arnaud Le Blanc
fc938b54c7 Fixed stream_get_contents() when using $maxlength and socket is not
closed. indeyets@php.net on #46049.
2008-11-11 01:55:19 +00:00
Arnaud Le Blanc
dec12b2549 Fixed bug #44818 (php://memory writeable when opened read only) 2008-11-11 00:44:36 +00:00
Arnaud Le Blanc
2fe765b5f4 Fixed bug #45585 (fread() return value for EOF inconsistent
between PHP 5 and 6)
2008-11-11 00:40:05 +00:00
Arnaud Le Blanc
c0039b30be Added parse_ini_string() function (grange at lemonde dot fr, Arnaud)
[DOC] new function parse_ini_string()
      proto array parse_ini_string(string ini_string
          [, bool process_sections [, int scanner_mode]])
      Same as parse_ini_file() except that it takes a string instead of a
      filename.
2008-11-05 21:33:19 +00:00
Kalle Sommer Nielsen
bc64ccf1d0 New tests for syslog 2008-11-05 09:58:15 +00:00
Arnaud Le Blanc
2e32876eaa Fixed stream_get_line() to behave as documented on non-blocking streams 2008-11-04 17:05:17 +00:00
Arnaud Le Blanc
0bb5310a63 Avoids fclose() from complaining that stream_socket_pair() streams
have not been closed
2008-11-04 16:45:42 +00:00
Arnaud Le Blanc
8e6f8fc4dc Fixed bug #46024 (stream_select() doesn't return the correct number) 2008-11-04 00:42:19 +00:00
Arnaud Le Blanc
611d72ad2a cleanup 2008-11-03 23:34:17 +00:00
Arnaud Le Blanc
fc62c1ff0a Fixed bug #44607 (stream_get_line unable to correctly identify the
"ending" in the stream content)
2008-11-03 23:28:45 +00:00
Arnaud Le Blanc
c4c2308fec Fixed bug #45303 (Opening php:// wrapper in append mode results
in a warning)
2008-11-03 16:58:28 +00:00
Arnaud Le Blanc
0bed5602ee Fixed bug #43353 (wrong detection of 'data' wrapper causes notice) 2008-11-03 15:47:05 +00:00
Felipe Pena
3efabcf22c - New test 2008-11-02 18:20:57 +00:00
Felipe Pena
8bf0a4f64b - New test 2008-10-30 15:50:33 +00:00
Felipe Pena
7b359fa53a - Improved test 2008-10-30 14:31:01 +00:00
Felipe Pena
d140cd1f0b - Fixed bug #46426 (3rd parameter offset of stream_get_contents not works for "0") 2008-10-30 10:08:01 +00:00
Sanjay Mantoor
2b1b26bf6d New testcases for array_intersect_uassoc function 2008-10-28 10:21:12 +00:00
Sanjay Mantoor
4d65d65ce7 New PHP testcases for array_diff_ukey function 2008-10-22 05:51:52 +00:00
Alexey Zakhlestin
374086f172 MFB: skip tests on systems without fnmatch() function (f.e.: old darwin) 2008-10-21 13:38:57 +00:00
Alexey Zakhlestin
d8393b570c MFB: these tests work just fine on macos-x 2008-10-21 12:48:37 +00:00
Arnaud Le Blanc
d4cb99a976 Fixed #46164 (stream_filter_remove() closes the stream) 2008-10-05 01:40:02 +00:00
Sanjay Mantoor
497e58ebf5 New testcases for array_diff_uassoc() function 2008-09-26 11:57:41 +00:00
Antony Dovgal
22802419ba fix segfault with serialize(new __PHP_Incomplete_Class) found by Felipe
add test
2008-09-16 14:36:10 +00:00
Dmitry Stogov
f9f69a5373 Fixed bug #43053 (Regression: some numbers shown in scientific notation). (int-e at gmx dot de)
some 64bit test files may need to be fixed
2008-09-15 11:47:27 +00:00
Arnaud Le Blanc
c2f830ca21 MFB / fix tests 2008-09-14 14:57:26 +00:00
Felipe Pena
a26fab9f6b - Fixed unexpected zval changes 2008-09-12 01:10:56 +00:00
Lars Strojny
7949c4d771 prev()-tests by Iain Lewis <ilewis@uk.ibm.com> 2008-09-11 18:21:24 +00:00
Sanjay Mantoor
5190b089be New testcases for array_intersect_key() function 2008-09-11 10:41:01 +00:00
Stanislav Malyshev
3a55154b6b add some windows-style INI entries to tests 2008-09-11 00:50:08 +00:00
Felix De Vliegher
3d539dacd6 MFB: Tests for get_browser(). 2008-09-06 23:20:53 +00:00
Pierre Joye
c0c6854c50 - #45985, touch on opened file raises a warning 2008-09-04 08:03:31 +00:00
Jani Taskinen
a4a02f3830 [DOC]- Fixed bug #45956 (parse_ini_file() does not return false with syntax errors in parsed file)
[DOC] note: change will be in since 5.2.7
2008-08-31 00:19:21 +00:00
Jani Taskinen
782c11a4e0 - Move the tests where they belong 2008-08-30 23:20:25 +00:00
Felipe Pena
0b5e6c5fd8 - Fixed tests 2008-08-30 22:16:29 +00:00
Felipe Pena
15697830b4 - Fixed tests 2008-08-29 15:47:00 +00:00
Dmitry Stogov
7c111e1e80 Fixed bug #45706 (Unserialization of classes derived from ArrayIterator fails) 2008-08-29 14:59:41 +00:00
Felipe Pena
a69b38f7e9 - Removed the undocumented object support in the leftover array functions [DOC]
(natcasesort, natsort, array_walk, array_walk_recursive, array_unique, array_key_exists)
- Changed HASH_OF() to Z_ARRVAL_P()
- Fixed bug #45937 (array_walk and array_walk_recursive can alter private/protected object variable)
2008-08-29 02:48:28 +00:00
Felipe Pena
d3ed3e3a36 - New test 2008-08-25 19:38:18 +00:00
Felipe Pena
b1e51d0555 - Fixed tests 2008-08-25 13:44:33 +00:00
Jani Taskinen
1736edba99 fix test: no crap left behind 2008-08-25 13:40:33 +00:00
Pierre Joye
dcb0cc3d2b - [DOC] fix test, chr uses codepoint as input 2008-08-21 23:28:21 +00:00
Pierre Joye
1f0f4b56e7 - use date.timezone ini setting 2008-08-21 18:36:44 +00:00
Pierre Joye
d61c5689c2 - use date.timezone ini setting instead of ENV 2008-08-21 18:33:06 +00:00
Pierre Joye
e80e2e8ef6 - fix test on windows 2008-08-21 18:24:53 +00:00
Pierre Joye
e6edc95f50 - different parser message on windows 2008-08-21 13:04:43 +00:00
Pierre Joye
aafdb1a2e3 - "fix" crash on windows 2008-08-21 12:38:34 +00:00
Pierre Joye
73b03d9f8f - use 'C' (and enable it on windows) 2008-08-21 12:24:24 +00:00
Pierre Joye
6e41f9069f - don't skip if windows matches 2008-08-21 12:13:31 +00:00
Pierre Joye
26a4e6d61f - MFB: use "C" instead of "" (and enable it on windows) 2008-08-21 12:06:02 +00:00
Pierre Joye
e3a0de9e45 - skip 007 on non windows platform and add a win specific version (file not found instead of filename too long) 2008-08-21 11:01:35 +00:00
Pierre Joye
10f187e7ff - make it portable and clean on in the clean section, session file may still be open (can't be deleted) 2008-08-21 10:30:34 +00:00
Pierre Joye
4c86d24f5e - make it portable 2008-08-21 09:43:38 +00:00
Pierre Joye
17422e1f32 - +skip 2008-08-21 08:30:28 +00:00
Pierre Joye
0ce0493942 - MFB: skip on windows (setlocale can even crash on win+VC6...) 2008-08-21 08:27:55 +00:00
Lars Strojny
fefef1621f Allow mixed $initial (patch by Christian Seiler) 2008-08-20 20:35:16 +00:00
Felipe Pena
6bdded7863 - Fixed test 2008-08-20 13:54:13 +00:00
Felipe Pena
30f7bd1cb6 - MFB: New parameter parsing API
- Fixed tests
2008-08-19 02:51:28 +00:00
Pierre Joye
d57790d04d - MFB: don't use /tmp as tmpdir and avoid endless loop when fopen or tmpnam failed 2008-08-18 21:26:30 +00:00
Pierre Joye
635c978762 - new parameter API error 2008-08-18 18:10:36 +00:00
Dmitry Stogov
6552f469e5 Fixed bug #45835 (include and symlinks) 2008-08-18 10:28:00 +00:00
Dmitry Stogov
6944510111 Reverted wrong "fix" 2008-08-18 09:20:56 +00:00
Pierre Joye
8114893b3e - MFB: unix is too young (<1970), make the test portable 2008-08-18 07:20:56 +00:00
Arnaud Le Blanc
70f66898a4 Fix tests (closes #45841) 2008-08-18 04:45:25 +00:00
Felipe Pena
d54a413912 - New parameter parsing API 2008-08-17 22:11:21 +00:00
Arnaud Le Blanc
c9789b9eb3 Allow underscore at start of labels as underscore has no meaning here
(fixes #44842)
2008-08-17 21:51:36 +00:00
Pierre Joye
d3b8d9f635 - add %a for Compiler/architecture 2008-08-17 16:43:36 +00:00
Pierre Joye
e3e8c437ba - [DOC] improve fix for #43261 for % and " 2008-08-17 15:23:23 +00:00
Pierre Joye
2345321956 - fix test (portable), use . as basedir and create the tmp dir in the test directory 2008-08-17 13:07:06 +00:00
Pierre Joye
614299969b - MFB:
- fix or improve tests
 - add dump of the array_diff for compare_stats
2008-08-17 11:10:52 +00:00
Felipe Pena
7148ea9561 - New parameter parsing API
- Fixed tests
2008-08-16 21:16:25 +00:00
Pierre Joye
37fe35f1c3 - remove confusion for non windows/linux users 2008-08-16 13:27:18 +00:00
Pierre Joye
a279b66f9c - MFB: wrong file commited (and fix test, thx Tony for the head up) 2008-08-16 10:54:34 +00:00
Pierre Joye
44ddda0c2d - make it portable without loosing pertinent data 2008-08-15 19:33:43 +00:00
Pierre Joye
2d2c2de62f - make it portable without loosing pertinent data 2008-08-15 19:25:56 +00:00
Pierre Joye
0b9d80861a - fix test
- add debug build mode (crt outputs callback for invalid parameters)
2008-08-15 19:01:09 +00:00
Pierre Joye
31e17fd3fa - New parameter parsing API > new warning 2008-08-15 16:50:55 +00:00
Dmitry Stogov
2f3e1ae545 Fixed possible infinity loop in tests 2008-08-15 09:27:14 +00:00
Jani Taskinen
48442e4ab8 - Fix tests 2008-08-14 23:43:21 +00:00
Jani Taskinen
45e2d7bd58 fix test 2008-08-14 23:28:47 +00:00
Jani Taskinen
06137bf0ce - Fix test: Do not leave your crap behind! 2008-08-14 23:25:27 +00:00
Jani Taskinen
ce8106ff13 fix test 2008-08-14 20:33:20 +00:00
Antony Dovgal
c7a1743048 [DOC] add quoted_printable_encode() 2008-08-14 10:11:26 +00:00
Felipe Pena
8a4e3981ed - Fixed tests 2008-08-12 20:00:28 +00:00
Felipe Pena
cbad1c9e7c - New parameter parsing API 2008-08-12 19:38:05 +00:00
Pierre Joye
70b94f2adb - update test after php's portable realpath change (filename/ is not valid anymore) 2008-08-12 13:04:50 +00:00
Pierre Joye
dce0ac6e08 - not supported on windows 2008-08-12 11:55:47 +00:00
Arnaud Le Blanc
baae1c3fb1 clear stat cache in chroot() 2008-08-11 23:14:21 +00:00
Arnaud Le Blanc
0fa58b5775 Fixed #45181 (chdir() should clear relative entries in stat cache) 2008-08-11 22:38:17 +00:00
Arnaud Le Blanc
0ea8978235 Check the relevant path for open_basedir in symlink() 2008-08-11 15:29:06 +00:00
Pierre Joye
a37e9d2e0f - skip on wndows, chgrp not supported 2008-08-11 13:29:16 +00:00
Pierre Joye
94b661a37f - [DOC] detect if dest is a dir (if the given stream layer supports stat)
and fails
 . remove win32 specific test. The errors are not the same
2008-08-11 13:09:01 +00:00
Felipe Pena
b9b83ec794 - New parameter parsing API (for *printf()) 2008-08-10 21:48:22 +00:00
Felipe Pena
f168ea0fb3 - New parameter parsing API (for min() and max()) 2008-08-10 17:49:30 +00:00
Pierre Joye
bb8085acc4 - fix string len 2008-08-10 14:15:31 +00:00
Arnaud Le Blanc
eebec53bc0 Fixed bug #45581 (htmlspecialchars() double encoding &#x hex items) 2008-08-10 13:25:53 +00:00
Arnaud Le Blanc
85bc66aa5c Fixed test 2008-08-10 12:06:49 +00:00
Arnaud Le Blanc
726dfc423d Do not expand $target in symlink(). This made it impossible to symlink to a
symlink. This also caused the target to be wrongly expanded relatively to
the CWD when target was not an absolute path.
2008-08-10 11:54:18 +00:00
Antony Dovgal
37b57badf0 disable the test on AIX - unlink() deletes directories there (omg..) 2008-08-09 22:35:17 +00:00
Antony Dovgal
c5b2255843 fix typo 2008-08-09 21:02:30 +00:00
Felix De Vliegher
7da0fe6ef0 MFB: Basic and error tests for stream_filter_remove(). 2008-08-07 22:32:43 +00:00
Arnaud Le Blanc
a51e5ebaeb Added clear_realpath_cache and filename parameters to clearstatcache() (Jani,
Arnaud)
[DOC] clearstatcache() now defaults to not affect the realpath cache.
clearstatcache() now takes two optionnal parameters, clear_realpath_cache to
clear the realpath cache (defaults to false), and filename to clear only the
given filename from the cache.
2008-08-07 09:24:04 +00:00
Antony Dovgal
951fe380b3 fix bug #45712 ($something == NaN returns true with 5.3, false with 5.2.*) 2008-08-07 08:36:15 +00:00
Stanislav Malyshev
9d04ad3dc2 fix test 2008-08-05 21:59:11 +00:00
Stanislav Malyshev
fb9945422e fix memnstr bug by Laurent Gaffie 2008-08-05 21:23:20 +00:00
Jani Taskinen
a445bcdb2f - Add test for bug #45712 2008-08-05 12:36:21 +00:00
Arnaud Le Blanc
4386384222 Fixed test 2008-08-05 10:09:12 +00:00
Dmitry Stogov
83c993baab Fixed test 2008-08-04 07:16:29 +00:00
Arnaud Le Blanc
630fb69796 MFB: Allow urlencode()d filer names in php://filter (fixes #43008) 2008-08-02 06:37:34 +00:00
Johannes Schlüter
e0e15347e2 - Add array_replace/array_replace_recursive (Mett Wilmas) 2008-07-31 20:17:07 +00:00
Felipe Pena
a9e846b21e - Fixed tests 2008-07-29 12:20:39 +00:00
Dmitry Stogov
bdf7981e28 Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B" 2008-07-26 13:14:56 +00:00
Felipe Pena
997c24d068 - New parameter parsing API 2008-07-24 12:48:47 +00:00
Dmitry Stogov
72dfe66661 LSB parent/self forwarding 2008-07-24 10:14:01 +00:00
Felipe Pena
b1306465de - Fixed tests 2008-07-24 03:30:02 +00:00
Lars Strojny
441848362d array_intersect_ukey tests by Sanjay Mantoor 2008-07-23 20:38:10 +00:00
Felipe Pena
211064f588 - Fixed tests 2008-07-23 19:49:07 +00:00
Felipe Pena
cc9a38bdca - New parameter parsing API 2008-07-23 19:33:58 +00:00
Jani Taskinen
5e1f4665e3 Fix test (bug #44985) 2008-07-23 14:15:00 +00:00
Antony Dovgal
40b04059f9 fix test 2008-07-23 10:26:39 +00:00
Antony Dovgal
624122daff sync test with other branches 2008-07-23 09:29:09 +00:00
Arnaud Le Blanc
4102806c0c Fix test: use canonical name to avoid problems with domain search path 2008-07-23 08:26:26 +00:00
Scott MacVicar
9f26bea98f Add test for escapeshellcmd and restore previous behaviour with stripping % on Windows. 2008-07-22 16:18:37 +00:00
Felipe Pena
f76da1b96c - Fixed bug #44246 (closedir() accepts a file resource opened by fopen()) 2008-07-22 14:06:17 +00:00
Scott MacVicar
69ee229b97 Fix integer oveflow in strrpos() 2008-07-22 01:05:55 +00:00
Lars Strojny
817546a99f Fixing tests broken by the introduction E_USER_DEPRECATED 2008-07-21 22:06:01 +00:00
Felipe Pena
2d1fbe1328 - Fixed tests 2008-07-21 14:31:40 +00:00
Kalle Sommer Nielsen
348cec30d0 Forgot to fix title 2008-07-21 11:09:23 +00:00
Dmitry Stogov
0cfa6a5977 support for closures 2008-07-17 09:52:51 +00:00
Scott MacVicar
fa85c408a9 Fix bug when < is used within attribute. 2008-07-15 14:44:46 +00:00
Felix De Vliegher
4b1c0f0722 MFB: Tests for strpbrk(), testfest.php.net task #91 and #92. 2008-07-15 11:15:32 +00:00
Josie Messa
0d4efeb6f2 - Tests from TestFest
- Have slightly modified similar_text_error.phpt from original file
2008-07-14 15:28:51 +00:00
Felipe Pena
9277fc89c4 - MFB: Fixed bug #45485 (strip_tags and <?XML tag) 2008-07-11 12:43:06 +00:00
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