Commit Graph

1729 Commits

Author SHA1 Message Date
Jani Taskinen
1c2b8b6abb - cosmetics 2009-08-04 02:34:32 +00:00
Jani Taskinen
ea98d7a72e - Fixed bug #49056 (parse_ini_file() regression in 5.3.0 when using non-ASCII strings as option keys) 2009-08-04 02:34:04 +00:00
andy wharmby
4d8d8d73db New basic tests for get_defined_constants(), get_loaded_extensions() and get_resource_type() functions. Tested on Windows, Linux and Linux 64 bit 2009-08-03 23:12:43 +00:00
Felipe Pena
1648ab5750 - Re-fix stream_is_local() memory leaks 2009-08-03 13:16:24 +00:00
Jani Taskinen
96498c468c - These tests fail if mbstring is enabled, not because of bad libc.. 2009-08-03 10:23:23 +00:00
Felipe Pena
8ad9bd1930 - Fixed tests 2009-08-01 15:46:50 +00:00
Jani Taskinen
be6338014a - Fixed bug #43510 (stream_get_meta_data() does not return same mode as used in fopen) 2009-08-01 03:17:31 +00:00
Jani Taskinen
48a514673a - Skip some tests in 32bit systems, add cleanups where missing 2009-07-28 19:16:02 +00:00
Jani Taskinen
d6091b2521 - Fix test 2009-07-24 19:51:55 +00:00
Jani Taskinen
b991dfdb1f - Fixed tests to be more portable 2009-07-23 19:06:56 +00:00
Jani Taskinen
af0c2c4760 - Fix test 2009-07-23 16:25:07 +00:00
Rasmus Lerdorf
7bba051009 Fix bug #49003 by tweaking the fix to bug #44929 slightly.
A 0 followed by any punctuation is now significant instead
of just 0's in front of a period.
2009-07-21 21:15:48 +00:00
Zoe Slattery
9ff94c82df Remove empty sections. Fix bad use of --SKIP-- 2009-07-21 14:02:24 +00:00
Gwynne Raskind
3832578522 revert Nuno's commit of my patch 2009-07-20 11:48:04 +00:00
Jani Taskinen
c0aab038ba Fixed bug #48929 (Double \r\n after HTTP headers when "header" context option is an array) 2009-07-20 10:54:37 +00:00
Nuno Lopes
4526eee6db Add support for proc_open()'s bypass_shell feature for Unix systems (slightly modified patch from Gwynne) 2009-07-19 14:52:27 +00:00
Zoe Slattery
d09ab2ab42 Removing unnecessary SKIPIF sections 2009-07-18 13:46:08 +00:00
Zoe Slattery
546a927dc8 fixing paths in INI section 2009-07-18 13:14:21 +00:00
Alexey Zakhlestin
d3e8085c28 removing test. this one tests system-specific behavior, not something implemented in php 2009-07-17 17:17:57 +00:00
Alexey Zakhlestin
edb55a4166 fixed tests. money_format() is implemented in underlying system, not in php. So, we shouldn't test for actual values returned. They are different between systems 2009-07-17 15:56:36 +00:00
Jani Taskinen
785f1bd170 - Fixed bug #47481 (natcasesort() does not sort extended ASCII characters correctly) 2009-07-17 11:13:51 +00:00
Zoe Slattery
4e0b75042a fix tests 2009-07-17 09:28:19 +00:00
Alexey Zakhlestin
3e326b91e7 fix tests corrupted by svn's eol-style=native 2009-07-15 13:44:14 +00:00
Alexey Zakhlestin
07ae04de31 MFH: fix broken test 2009-07-15 10:06:38 +00:00
Felipe Pena
fb235dc07f - MFH: Fixed bug #48854 (array_merge_recursive modifies arrays after first one) 2009-07-08 18:23:08 +00:00
Pierre Joye
ddb869d674 - skip on windows 2009-07-08 10:42:06 +00:00
Pierre Joye
e98be67b11 - windows version 2009-07-08 10:41:50 +00:00
Pierre Joye
528ede93df - windows version 2009-07-08 10:14:49 +00:00
Pierre Joye
d8b465caae - skip on win, different error msg 2009-07-08 10:13:27 +00:00
Pierre Joye
8f7ce3ae3d - fix test (mtime only is changed) 2009-07-08 09:59:33 +00:00
Pierre Joye
7a41848cc6 - #46882, touch() atime field returns different value 2009-07-07 22:13:32 +00:00
Pierre Joye
f6016c64e5 - fixed, remove xfail 2009-07-07 22:04:42 +00:00
Pierre Joye
18174e18c9 - fix tests, 5.3 supports these things now on windows. Also shorter tests would be REALLY nice (or use iteration numbering) 2009-07-07 21:50:38 +00:00
Kalle Sommer Nielsen
dc69d9228a MFH: Fix test on Windows 2009-07-01 20:27:11 +00:00
Felipe Pena
0e294f2121 - MFH: Fixed bug #48709 (metaphone and 'wh') 2009-06-30 11:46:20 +00:00
andy wharmby
d73094aed4 Basic test for max() on 64 bit platforms. Tested on Linux 64 bit 2009-06-29 07:52:23 +00:00
andy wharmby
93a16cf13a Basic tests for sleep() and usleep(). Tested on Windows, Linux and Linux 64 bit 2009-06-29 07:31:10 +00:00
andy wharmby
3aaaf77a0e New and fixed html tests. Tested in Windows, Linux and Linux 64. 2009-06-23 22:45:31 +00:00
andy wharmby
e6f4ec2f07 New basic parse_str() tests. Tested on Windows,Linux and Lnux 64 bit. Some tests fail on PHP 6 (tagged with XFAIL) due to bug 48658 2009-06-23 22:39:44 +00:00
andy wharmby
e64f0795e1 Fix test; remove spurious code 2009-06-18 21:53:17 +00:00
andy wharmby
7c7dd8b712 Basic tests for strftime(). Tested on Windows (all tests skip), Linux and Liinux 64 bit 2009-06-18 21:14:15 +00:00
Hannes Magnusson
d535dec2e0 fix skipif 2009-06-17 10:18:17 +00:00
Hannes Magnusson
9900d2097c fix skipif 2009-06-17 10:14:25 +00:00
Pierre Joye
02fe289540 - fix test 2009-06-17 10:10:19 +00:00
Pierre Joye
f399abb610 - missing --SKIPIF-- header 2009-06-17 10:08:01 +00:00
Felipe Pena
ef55a8a663 - Fixed tests 2009-06-16 19:49:55 +00:00
andy wharmby
d7072fa367 New strcoll error test. Tested on Windows, Linux and Linux 64. 2009-06-16 19:39:39 +00:00
andy wharmby
c731b2287f Fix typo in test 2009-06-16 11:37:13 +00:00
Pierre Joye
b4cf9d80d4 - fix title 2009-06-16 10:37:59 +00:00
Pierre Joye
1a69c562bd - fix title 2009-06-16 10:37:30 +00:00
andy wharmby
f0f302fe7f New class related tests. Tested on Windows, Linux and Linux 64. Tests written by Iain Lewis 2009-06-16 08:59:39 +00:00
Pierre Joye
8e76db4aa7 - revert last commit, should not have been applied 2009-06-16 00:17:56 +00:00
Pierre Joye
a5302d870d - #47767, include_once does not resolve windows symlinks or junctions 2009-06-16 00:13:56 +00:00
Pierre Joye
18d5751a9e - Windows ACL cache support, update existing tests and add a new one 2009-06-16 00:07:05 +00:00
andy wharmby
791b526c67 New intval() tests. Tested on Windows, Linux and linux 64 2009-06-11 22:26:51 +00:00
andy wharmby
1386f796d2 New 64 bit math tests. Tested on Windows, Linux and Linux 64 bit. Tests authored by Dave Kelsey 2009-06-11 21:17:00 +00:00
Pierre Joye
49666eece6 #41874, separate STDOUT and STDERR in exec functions 2009-06-09 00:25:37 +00:00
Matt Wilmas
dca18b68d1 MFH: Fixed bug #47836 (array operator [] inconsistency when the array has PHP_INT_MAX index value)
Also simplified related array_push() test
2009-06-07 19:28:15 +00:00
Matt Wilmas
1fa3b21c15 MFH: Fixed error message grammar:
- "cannot" instead of "can not" (meaning "also can")
 - "than" instead of "then" (Hint: "then" should hardly be needed;
     you're not telling the order in which to do something)

... plus removed a couple ending. dots
2009-06-06 02:40:49 +00:00
Matt Wilmas
a80be6827d MFH: Fixed tests again after double->long conversion change (to match 5.2) 2009-06-05 17:15:33 +00:00
Matt Wilmas
26cde1ee2f MFH: Updated tests after double->long conversion change (basically to match 5.2)
# Let me know about other failing tests I missed
2009-06-04 18:25:06 +00:00
Brian Shire
b39f215173 MFH: Add test for Bug #47859 parse_ini_file() does not like asterisk (*) in key in the beginning 2009-06-03 19:37:26 +00:00
Pierre Joye
472d000289 - fix title 2009-06-03 08:31:24 +00:00
Pierre Joye
2f6f336205 - fix parameter order and return value check in windows (Venkat Raman Don, Pierre)' link 2009-06-03 07:56:53 +00:00
Ilia Alshanetsky
c1c9645128 Fixed test 2009-06-02 12:19:34 +00:00
Arnaud Le Blanc
23a25db653 MFH: New test 2009-05-28 13:22:28 +00:00
Ilia Alshanetsky
529bcf35c2 MFB: Improve fix for bug #48313 2009-05-24 16:01:48 +00:00
Pierre Joye
10ace3fe97 - #44859, fixed support for windows ACL, drop win9x code 2009-05-17 19:44:27 +00:00
Arnaud Le Blanc
c79528a26d MFH: Fixed bug #48309 (stream_copy_to_stream() and fpasstru() do not
update stream position of plain files)
2009-05-17 14:58:10 +00:00
Arnaud Le Blanc
8a8e036175 MFH: Test for #38802 2009-05-16 20:45:28 +00:00
Arnaud Le Blanc
ac57b7078b MFH: Minimal HTTP server to test HTTP stream wrapper 2009-05-16 20:44:05 +00:00
Arnaud Le Blanc
a2600facdd MFH: Fixed bug #48307 (stream_copy_to_stream() copies 0 bytes when $source
is a socket)
2009-05-16 20:23:06 +00:00
Felipe Pena
06a10f3789 - New tests (testfest Quebec) 2009-05-16 18:26:59 +00:00
Felipe Pena
837cf07807 - New tests (testfest CataloniaUG) 2009-05-16 14:41:27 +00:00
Christopher Jones
ad07803d23 MFH: New array_multisort() test and code comment fix (Simon Westcott) 2009-05-15 16:46:22 +00:00
Ilia Alshanetsky
c3e3d607b4 Fixed bug #47564 (unpacking unsigned long 32bit bit endian returns wrong
result)
2009-05-12 12:34:55 +00:00
Jani Taskinen
899e56337f - Fix paths 2009-05-11 05:01:37 +00:00
Etienne Kneuss
bad0b796a8 MFB: Add test for #48224 2009-05-10 20:12:56 +00:00
Arnaud Le Blanc
7d61fa216d test for #44034 2009-05-08 09:50:34 +00:00
Hannes Magnusson
903f306a60 Fix tests 2009-05-07 08:08:00 +00:00
Felipe Pena
d64db73483 - Fixed tests 2009-05-05 18:19:16 +00:00
Matt Wilmas
09034cf3f4 MFH: Implemented manual scanning for strings/comments, plus misc. fixes 2009-05-05 01:35:44 +00:00
Kalle Sommer Nielsen
5a6d3cc42b Added E_DEPRECATED startup notice (5.3 only) 2009-05-04 21:18:22 +00:00
Jani Taskinen
73b9d33ab7 MFH: fix test 2009-04-30 13:22:13 +00:00
Jani Taskinen
a4a08dd43d MFH:fix test 2009-04-30 13:19:31 +00:00
Zoe Slattery
3bd566f7c4 Refixing to follow documented behaviour 2009-04-29 07:53:10 +00:00
Ilia Alshanetsky
7b064cf252 Fixed bug #47365 (ip2long() may allow some invalid values on certain 64bit
systems)
2009-04-28 22:27:00 +00:00
Antony Dovgal
319491b658 fix test 2009-04-28 09:04:28 +00:00
Arnaud Le Blanc
1bef730840 MFH 2009-04-25 21:13:07 +00:00
Sebastian Schürmann
7942cd2c3c - Initial commit 2009-04-25 11:33:26 +00:00
Sebastian Schürmann
a3a20e29c2 - Initial Commit 2009-04-25 11:29:52 +00:00
Sebastian Schürmann
f972956b9d - Initial commit 2009-04-25 11:23:01 +00:00
Arnaud Le Blanc
a772d7c3ef MFH 2009-04-24 19:48:41 +00:00
Arnaud Le Blanc
54958dbc7c MFH 2009-04-24 17:14:32 +00:00
andy wharmby
04250059a8 Fix test 2009-04-21 08:53:25 +00:00
Arnaud Le Blanc
790d160b6f new test 2009-04-19 13:56:08 +00:00
Zoe Slattery
11d43ac5d2 fixing incorrect --CLEAN-- sections 2009-04-16 12:28:03 +00:00
Zoe Slattery
25ff381418 fixing incorrect --CLEAN-- sections 2009-04-16 12:14:38 +00:00
Zoe Slattery
c80613cce2 fixing incorrect --CLEAN-- sections 2009-04-16 10:54:45 +00:00
Dmitry Stogov
679c6298e3 - Added "dechunk" filter which can decode HTTP responces with chunked transfer-encoding. HTTP streams use this filter automatically in case "Transfer-Encoding: chunked" header presents in responce. It's possible to disable this behaviour using "http"=>array("auto_decode"=>0) in stream context
- Fixed bug #47021 (SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked")
2009-04-16 10:16:27 +00:00
Antony Dovgal
a31e30fafb fix parse error 2009-04-15 20:56:58 +00:00
Antony Dovgal
af4b7aca6e fix test 2009-04-15 20:54:52 +00:00
Rasmus Lerdorf
11a8e2e82e Fix the test case 2009-04-09 16:04:45 +00:00
Ilia Alshanetsky
0e59140380 MFB: Added test for php_sapi_name() 2009-04-09 13:29:01 +00:00
Rasmus Lerdorf
70c7e179de Fixed bug #44929 - Better handling of leading zeros 2009-04-08 18:10:46 +00:00
Dmitry Stogov
875a27b7ed Fixed bug #47851 (is_callable throws fatal error) 2009-04-02 09:56:33 +00:00
Matt Wilmas
f18b366ec8 MFH: Fixed tests, reverted changes from bug #47546 2009-04-02 09:42:26 +00:00
Matt Wilmas
c27bf17f63 MFH: explode() stuff:
- Fixed bug #47560 (explode()'s limit parameter odd behaviour) by reverting change for bug #47546
- Changed int to long where needed (should fix memory errors from overflow seen in bug #47854)
- Simplified logic a bit with limit and its default value
- php_explode_negative_limit(): removed safe_emalloc (not needed; plain erealloc is used later)
 - Moved declarations/allocation to optimize if the delimiter isn't found
 - Changed ALLOC_STEP size for less realloc's (and maybe better memory block alignment?)
2009-04-01 17:05:36 +00:00
Arnaud Le Blanc
513837539b MFH: fix skip-if 2009-03-27 02:35:37 +00:00
Arnaud Le Blanc
13061cf0a0 Removed deprecation warning for ticks 2009-03-27 02:32:57 +00:00
Zoe Slattery
c71cc4eda8 added skip if for root 2009-03-20 08:58:09 +00:00
Matt Wilmas
927880b5cc MFH: Fixed bug #46882 (Serialize / Unserialize misbehaviour under OS with different bit numbers) 2009-03-17 22:04:10 +00:00
Scott MacVicar
bb2283bf4e MFH Fix bug #47359 - Use the official unofficial mimetype for bmp files, this stops IE from getting confused. 2009-03-17 03:25:57 +00:00
Christopher Jones
1d5dbea704 Fix INI blocks 2009-03-17 01:52:52 +00:00
Dmitry Stogov
122232aa54 Fixed test 2009-03-16 15:00:00 +00:00
Dmitry Stogov
cc91da1bd7 Fixed bug #47664 (get_class returns NULL instead of FALSE) 2009-03-16 09:51:32 +00:00
Brian Shire
dd031eee68 MFH: Fix scanner handling of NULL values in heredoc, nowdoc, strings, comments, and non-parsed content. 2009-03-16 01:40:14 +00:00
Brian Shire
9c16bfa194 MFH: Add proper EOF handling for language scanner. Fixes bug #46817. 2009-03-11 22:11:53 +00:00
Kalle Sommer Nielsen
9d4718e098 MFH: Fix tests 2009-03-08 06:20:00 +00:00
Zoe Slattery
456d5e9381 fixed test 2009-03-04 10:23:01 +00:00
Kalle Sommer Nielsen
627caefc4d MFH: Fixed bug #47546 (Default value for limit parameter in explode is 0, not -1) 2009-03-03 11:47:31 +00:00
Zoe Slattery
7834afebde removing UEXPECT 2009-03-03 09:59:36 +00:00
Felipe Pena
92775cd150 - New test 2009-02-18 22:53:56 +00:00
Zoe Slattery
1f4f3e269a Increased the sleep() from 1 to 5 to prevent intermittent failures 2009-02-17 15:16:45 +00:00
Zoe Slattery
6d87ab650f bug 46680 2009-02-17 10:36:12 +00:00
Zoe Slattery
f2fc027427 fix tests 2009-02-16 20:03:47 +00:00
Zoe Slattery
237d0378e7 exit -1 and exit -2 don't work for all sh. changed to exit 1 2009-02-16 13:16:50 +00:00
Antony Dovgal
7a4b9d26d7 fix tests 2009-02-15 21:46:01 +00:00
Moriyoshi Koizumi
b2b61661ed - MFH: Refix bug #43840.
- MFH: Fix bug #43841.
- MFH: Remove redundant trailing dots from the error messages.
- MFH: Fix tests.
2009-02-15 07:10:29 +00:00
Zoe Slattery
ca63494a39 splitting array_chunk into smaller tests 2009-02-14 10:32:26 +00:00
Zoe Slattery
db2f7c5559 remove UEXPECT 2009-02-13 22:01:28 +00:00
Felipe Pena
d4be93e87d - Improve test 2009-02-06 10:40:28 +00:00
Felipe Pena
68cfe99fa5 - MFH: Fixed bug #47322 (sscanf %d does't work) 2009-02-06 10:20:09 +00:00
Nuno Lopes
7f6ff02f5c fix bug #46347: allow * in ini keys 2009-02-02 19:23:13 +00:00
andy wharmby
28073afe56 New set_magic_quotes() tests. Tested on Windows, Linux and linux 64 2009-02-01 19:29:31 +00:00
andy wharmby
dbb272789d New php_uname() tests. Tested on Windows, Linux and linux 64 2009-02-01 19:17:48 +00:00
andy wharmby
7c07a980ed New get_defined_vars(), get_included_files(), get_magic_quotes() and getmypid() tests. Tested on Winows, Linux and Linux 64 2009-02-01 18:55:26 +00:00
andy wharmby
1cdf8160ce New escapeshellarg() tests. Tested on Windows, Linux and Linux 64 2009-02-01 18:39:50 +00:00
andy wharmby
9484e82e01 New floatval() tests. Tested on Windows, Linux and Linux 64 2009-02-01 18:32:40 +00:00
Scott MacVicar
68c140b288 Broken test, skipif sections had a parse error 2009-01-28 22:49:14 +00:00
andy wharmby
4f3a4e597b Split-ip var_export.phpt and add new error tests. Tested on Windows, Linux and Linux 64 bit 2009-01-26 22:27:03 +00:00
Antony Dovgal
09ac5971f5 MFH use example.com 2009-01-25 23:26:45 +00:00
andy wharmby
ba1b99e4aa Split is_callable test. Test on Windows, Linux and Linux 64 bit 2009-01-25 22:16:33 +00:00
Ilia Alshanetsky
4eb69eadc6 Improved fix for bug #47174 & added a test 2009-01-25 18:27:12 +00:00
Felipe Pena
c3631156fc - Fixed tests 2009-01-25 16:53:07 +00:00
Zoe Slattery
450c5afedf added INI and fixed assert02 to run on PHP6 and PHP53 2009-01-25 11:06:36 +00:00
Antony Dovgal
ff3ee30872 fix test 2009-01-24 22:02:36 +00:00
andy wharmby
4e71f2a5fc New get_extension_funcs() and getrusage() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-24 12:47:25 +00:00
andy wharmby
ada3990c1a Make test more robust; avoid hangs if fsockopen() fails. Tested on Windows, Linux and Linux 64 bit 2009-01-23 23:49:38 +00:00
Dave Kelsey
0610bbd12a deleted invalid test. 2009-01-23 18:56:51 +00:00