Commit Graph

6746 Commits

Author SHA1 Message Date
Zoe Slattery
0ee945e727 Fixed to allow for http etc 2009-08-30 08:18:53 +00:00
andy wharmby
83b40961b7 New basic network function tests. Tested on Windows, Linux and Linux 64 bit 2009-08-28 22:46:43 +00:00
Zoe Slattery
157453148a More tests from 2009 testfest 2009-08-28 14:31:19 +00:00
Pierre Joye
5c7b133648 - fix VC6 build 2009-08-27 14:45:41 +00:00
Zoe Slattery
7effcd5f6c Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Pierre Joye
1a372313ca - fix test and use __DIR__ as usual 2009-08-26 16:07:05 +00:00
Pierre Joye
3a5edf568e - add win32 version 2009-08-26 14:09:45 +00:00
Pierre Joye
cf4841cd5b - fix test 2009-08-26 09:59:20 +00:00
Pierre Joye
acbdbf2d49 Improved readlink, supress \??\ and use the drive syntax only 2009-08-25 23:51:04 +00:00
Pierre Joye
94d8307363 - fix #49047, touch may fail on directory 2009-08-25 09:16:53 +00:00
Pierre Joye
90498da2fb - fix test when part of the path is a symlink 2009-08-25 00:22:11 +00:00
Pierre Joye
a7450bfc74 - fix test 2009-08-25 00:14:23 +00:00
Pierre Joye
c8e9b49c4f - fix test 2009-08-24 19:19:43 +00:00
Pierre Joye
390c8204c4 - fix test 2009-08-24 18:45:45 +00:00
Pierre Joye
8747c631fc - fix test 2009-08-24 18:43:21 +00:00
Ilia Alshanetsky
45700b1c69 Don't clober variables 2009-08-24 18:40:13 +00:00
Jani Taskinen
f3f8bd086e - Fixed bug #49286 (php://input (php_stream_input_read) is broken) 2009-08-20 12:40:15 +00:00
Jani Taskinen
fd9a1fa1b3 - Merge missing commit by Ilia from PHP_5_3: Make filters without a resource throw E_RECOVERABLE_ERROR rather then E_ERROR 2009-08-20 12:19:49 +00:00
Jani Taskinen
f6dcba571e - WS + CS + sync 2009-08-20 12:17:32 +00:00
andy wharmby
b59f4b245c New basic test for md5(). Tested on Windows, Linux and Linux 64 bit 2009-08-19 08:39:33 +00:00
andy wharmby
0855be02d7 New str_replace() tests. All tested on Windows, Linux and Linux 64 2009-08-17 22:41:30 +00:00
andy wharmby
aea600260b New basic tests for uniqid(). Tested on Windows, Linux and Linux 64 bit 2009-08-17 14:22:02 +00:00
andy wharmby
db6a41487d New basic string tests - includes back-porting a few existing tests back to 5.2. All tested on Windows, Linux and Linux 64 2009-08-17 10:37:30 +00:00
Felipe Pena
044a5f90b6 - Fix ZTS build && removed unused vars 2009-08-15 16:05:06 +00:00
Stanislav Malyshev
721b51d2df cleanup string parameter parsing, fix some tests 2009-08-15 05:43:18 +00:00
Dmitry Stogov
7511c183ff Fixed crash in usort() and uasort() in case user comparison function modifyes th
e array.
2009-08-14 06:21:49 +00:00
Scott MacVicar
ed5b573242 Fix build on platforms where crypt isn't always available 2009-08-12 09:18:41 +00:00
Stanislav Malyshev
f9af0d4c3b fix potential memory issue on serialization
# When internal class uses zend_mangle_property_name it's malloc()
# so it should be freed with free()
2009-08-11 22:46:07 +00:00
Pierre Joye
064d0ff3c0 - fix and improve dns' AAAA support on windows 2009-08-10 08:05:11 +00:00
Rasmus Lerdorf
a564ce3717 Tweak a few tests that failed on OSX 2009-08-10 06:53:49 +00:00
Rasmus Lerdorf
3b3f13eb61 The system error here may not be "Filename too long". On OSX, for example,
it is "Invalid ioctl" in this case.
2009-08-09 14:20:54 +00:00
Rasmus Lerdorf
d80dac8aae Skip this test on osx because ceil(-0.5) doesn't return -0 like
everywhere else because of weird optimizations.
2009-08-09 05:16:17 +00:00
Rasmus Lerdorf
2be0578481 Doing a strnatcasecmp(chr(128),chr(255)) is completely non-sensical.
Logically one might think that chr(128) would collate before chr(255) except
this is a case-insensitive comparison and internally we toupper() both args.
toupper(chr(128)) is 128.  There is no upper-case equivalent of this char.
toupper(chr(255)) is 120 so chr(255) collates before chr(128) in this
case-insensitive comparison.  And these are rather bogus characters to feed
to a natsort test anyway.
2009-08-08 14:48:47 +00:00
Rasmus Lerdorf
cb734537f4 Restore intra-string whitespace collapsing broken in the previous change. 2009-08-08 14:39:34 +00:00
Pierre Joye
08dfcbc864 - [DOC] Fixed #49183 patch for VC6, NAPTR is only available in VC9+ build 2009-08-08 13:01:13 +00:00
Rasmus Lerdorf
238a8a2ebd Oops, true/false are not defined on Linux. They are on OSX. 2009-08-07 17:32:31 +00:00
Rasmus Lerdorf
88849ce511 Only skip leading 0's - fixes a test I broke a while ago 2009-08-07 17:14:19 +00:00
Jani Taskinen
dd7b767d7f - Fixed bug #48660 (parse_ini_*(): dollar sign as last character of value fails) 2009-08-07 14:21:38 +00:00
Pierre Joye
6625a196ff - Fixed #49183, dns_get_record does not return NAPTR records 2009-08-07 13:31:09 +00:00
Jani Taskinen
bf4bead40c - Fix test 2009-08-06 13:54:21 +00:00
Rasmus Lerdorf
8ed29f8d09 Fix more tests messed up by svn 2009-08-06 13:26:43 +00:00
Scott MacVicar
da8bbc0ad0 Deal with moving to res_nsearch(). dns_search() on OSX lacks an error handler, might revert to using straight bind9. 2009-08-06 04:37:07 +00:00
Scott MacVicar
afcc47ef85 Fix bug #48575 - Use dlopen() just like all the other *nixes instead of OSX specific code. 2009-08-06 01:33:54 +00:00
Scott MacVicar
118b42f142 Remove usage of res_nmkquery and res_nsend. We essentially were just doing a res_search() anyway, though now we use res_nsearch() with our own state.
This also adds support for using the high level <dns.h> API on OSX which in turns allows use of bind9 (finally).
2009-08-06 00:10:46 +00:00
Scott MacVicar
80d7dee7d6 Change dns.h to php_dns.h, part of my dns cleanup 2009-08-05 23:20:17 +00:00
andy wharmby
f2c4140cfe Basic test for is_resource() and isset() functions. tested on Windows, Linux and Linux 64 2009-08-05 16:10:46 +00:00
andy wharmby
1b4a8d1c62 Add new use-case to parse_str() test. Tested on Windows, Linux and Linux 64 2009-08-05 08:54:27 +00:00
Ilia Alshanetsky
116abdde65 Added missing handling for ICO support 2009-08-04 14:34:44 +00:00
Jani Taskinen
8ecec408f8 - Add test (yes, it fails still :) 2009-08-04 12:16:40 +00:00
Antony Dovgal
6b8f06b921 cosmetic fix 2009-08-04 09:27:15 +00:00
Antony Dovgal
9618b85b65 fix memleak and possible segfault in HTTP fopen wrapper 2009-08-04 09:24:48 +00:00
Jani Taskinen
f487836c1a - Fixed bug #48768 (parse_ini_*() crash with INI_SCANNER_RAW) 2009-08-04 02:56:26 +00:00
Jani Taskinen
c3cd6d45c9 - Fix title 2009-08-04 02:55:24 +00:00
Jani Taskinen
633e5d4a05 -fix test 2009-08-04 02:54:10 +00:00
Jani Taskinen
cdf04b13a9 - 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
Jani Taskinen
3ce6066df8 - fix test 2009-08-04 02:24:47 +00:00
Jani Taskinen
ef19ca2e51 - Fix test 2009-08-04 02:17:33 +00:00
andy wharmby
f868c5d10b 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
f44f3a31cd - Fixed bug #49095 (proc_get_status['exitcode'] fails on win32) 2009-08-03 19:05:56 +00:00
Felipe Pena
69dc1f80fd - CS 2009-08-03 15:58:18 +00:00
Felipe Pena
f59b07f3ad - Improved. No ugly copy. (Tony) 2009-08-03 13:26:15 +00:00
Felipe Pena
354e1e0ff4 - Re-fix stream_is_local() memory leaks 2009-08-03 13:16:24 +00:00
Jani Taskinen
246e9f105d - These tests fail if mbstring is enabled, not because of bad libc.. 2009-08-03 10:23:23 +00:00
Antony Dovgal
eb219d11cb revert bogus memleak fix causing Valgrind to scream 2009-08-03 08:45:28 +00:00
Felipe Pena
53debf4a9f - Fixed tests 2009-08-01 15:46:50 +00:00
Kalle Sommer Nielsen
fef66b3c2d Kill compiler warnings 2009-08-01 14:45:42 +00:00
Jani Taskinen
dbeb08f357 - Fixed bug #43510 (stream_get_meta_data() does not return same mode as used in fopen) 2009-08-01 03:17:31 +00:00
Felipe Pena
148f4dc105 - Fixed bug #49108 (2nd scan_dir produces seg fault) 2009-07-30 12:06:40 +00:00
Felipe Pena
bdf5fbc0d5 - Fixed memleak in stream_is_local() 2009-07-29 19:09:17 +00:00
Ilia Alshanetsky
4d0e637af8 Fixed bug #45141 (setcookie will output expires years of >4 digits). 2009-07-29 13:44:16 +00:00
Jani Taskinen
527d06032d - Skip some tests in 32bit systems, add cleanups where missing 2009-07-28 19:16:02 +00:00
Felipe Pena
2d7a87dec5 - Fix compiler warnings 2009-07-27 13:21:42 +00:00
Jani Taskinen
74fa8a7bd3 - Regenerated 2009-07-26 23:22:27 +00:00
Jani Taskinen
1b1b02ae54 - Fixed bug #49064 (--enable-session=shared does not work: undefined symbol:
php_url_scanner_reset_vars). (Jani)

# Note: This does not exist in PHP_5_2. Merged there as well to keep these files synced.
2009-07-26 23:20:34 +00:00
Jani Taskinen
c6b7baaa49 - Removed unused code (replaced long time ago by url_scanner_ex.* 2009-07-26 22:59:46 +00:00
Jani Taskinen
03133b0df2 - Fix test 2009-07-23 16:28:17 +00:00
Jani Taskinen
b10dc00263 - Fixed bug #48802 (printf() returns incorrect outputted length) 2009-07-23 14:54:04 +00:00
Ilia Alshanetsky
d25751680a Fixed bug #49014 (dechunked filter broken when serving more than 8192 bytes in
a chunk)         

# Original patch by andreas dot streichardt at globalpark dot com
2009-07-23 12:18:40 +00:00
David Soria Parra
f0bf1d363b - Add information whether DTrace is enable to phpinfo 2009-07-22 13:57:34 +00:00
Rasmus Lerdorf
c74b341cc6 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
ec97c3c3e3 Remove empty sections. Fix bad use of --SKIP-- 2009-07-21 14:02:24 +00:00
Jani Taskinen
bed030176a Fixed bug #48929 (Double \r\n after HTTP headers when "header" context option is an array) 2009-07-20 10:54:37 +00:00
Kalle Sommer Nielsen
6e3185b0fb Fix Windows build 2009-07-20 04:30:38 +00:00
Nuno Lopes
bb3a4a2bf8 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
199a181a2c Removing unnecessary SKIPIF sections 2009-07-18 13:44:15 +00:00
Zoe Slattery
6ae52f1e92 fixing paths in INI section 2009-07-18 13:12:56 +00:00
Alexey Zakhlestin
4a63a75539 removing test. this one tests system-specific behavior, not something implemented in php 2009-07-17 17:17:57 +00:00
Alexey Zakhlestin
00a0f088d0 MFB: 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 16:21:00 +00:00
Jani Taskinen
c111a9c036 - Fixed bug #47481 (natcasesort() does not sort extended ASCII characters correctly) 2009-07-17 11:13:51 +00:00
Andrei Zmievski
d69178b56b Adjust base64_encode() according to PDM notes. 2009-07-16 22:19:09 +00:00
Andrei Zmievski
3db16aae10 Adjust rawurlencode() according to PDM notes. 2009-07-16 22:08:02 +00:00
Andrei Zmievski
28889769af Adjust urlencode() according to PDM notes. 2009-07-16 21:48:10 +00:00
Stanislav Malyshev
1c6587dc9c fix freed mem reference 2009-07-15 23:57:52 +00:00
Alexey Zakhlestin
7b6eae5402 fix tests corrupted by svn's eol-style=native 2009-07-15 14:08:18 +00:00
Alexey Zakhlestin
03fa36f45a fix broken test 2009-07-15 10:05:59 +00:00
Felipe Pena
0977b2a6f8 - Fixed bug #48854 (array_merge_recursive modifies arrays after first one) 2009-07-08 18:21:13 +00:00
Pierre Joye
07107b8dc6 - skip on windows 2009-07-08 10:44:29 +00:00
Pierre Joye
dc4ba9d304 - windows version 2009-07-08 10:43:32 +00:00
Pierre Joye
3e8a09e9fd - windows version 2009-07-08 10:15:52 +00:00
Pierre Joye
6e6b3a3540 - MF53: skip on win, different error msg 2009-07-08 10:14:14 +00:00
Pierre Joye
849b01a79c - MF53: fix test (mtime only is changed) 2009-07-08 10:00:45 +00:00
Pierre Joye
13045c6900 - MF53: touch() atime field returns different value 2009-07-07 22:13:47 +00:00
Pierre Joye
35ba63180a - fixed, remove XFAIL 2009-07-07 22:05:27 +00:00
Pierre Joye
72d203ea31 - sync with 5.3 2009-07-07 21:56:18 +00:00
Kalle Sommer Nielsen
a49bb5425f Fix test on Windows 2009-07-01 20:26:37 +00:00
andy wharmby
b77d7c801a Basic test for max() on 64 bit platforms. Tested on Linux 64 bit 2009-06-29 07:52:26 +00:00
andy wharmby
6513ceb4dc Basic tests for sleep() and usleep(). Tested on Windows, Linux and Linux 64 bit 2009-06-29 07:31:15 +00:00
Felipe Pena
6abff59291 - Fixed bug #48709 (metaphone and 'wh') 2009-06-28 18:41:20 +00:00
Felipe Pena
eeb997d888 - Fixed bug #48658 (Change in behaviour of parse_str on php 6.0) 2009-06-28 02:36:19 +00:00
andy wharmby
7d60127c1e New and fixed html tests. Tested in Windows, Linux and Linux 64. 2009-06-23 22:45:30 +00:00
andy wharmby
0dfd8754a6 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:42 +00:00
Kalle Sommer Nielsen
535e251612 Move these defines to config.w32.h 2009-06-23 06:55:45 +00:00
Ilia Alshanetsky
ca74bf9e44 MFB: Fixed bug #48620 (X-PHP-Originating-Script assumes no trailing CRLF in
existing headers)
2009-06-21 15:30:23 +00:00
Kalle Sommer Nielsen
663600b41d Fixed arginfo for array_map, patch by Matthew Fonda <matthewfonda@gmail.com> 2009-06-20 06:05:26 +00:00
andy wharmby
e4ef8e925a Fix test; remove spurious code 2009-06-18 21:53:14 +00:00
andy wharmby
a2dd5c26cd Basic tests for strftime(). Tested on Windows (all tests skip), Linux and Liinux 64 bit 2009-06-18 21:14:14 +00:00
Hannes Magnusson
ae9ba9cd60 fix skipf 2009-06-17 10:18:42 +00:00
Felipe Pena
ccfdb9b9ad - Fixed tests 2009-06-16 19:49:04 +00:00
andy wharmby
62b2bc8d55 New strcoll error test. Tested on Windows, Linux and Linux 64. 2009-06-16 19:39:37 +00:00
Pierre Joye
a6b40a6e88 - MF53: fix readlink in TS SAPI 2009-06-16 16:53:56 +00:00
andy wharmby
9faad585d4 Fix typo in test 2009-06-16 11:37:11 +00:00
andy wharmby
a1fdddce49 New class related tests. Tested on Windows, Linux and Linux 64. Tests written by Iain Lewis 2009-06-16 08:59:56 +00:00
Pierre Joye
1c9d43d430 - silent warning 2009-06-15 08:32:18 +00:00
andy wharmby
f586200746 New intval() tests. Tested on Windows, Linux and linux 64 2009-06-11 22:26:54 +00:00
andy wharmby
b4ef9c4950 New 64 bit math tests. Tested on Windows, Linux and Linux 64 bit. Tests authored by Dave Kelsey 2009-06-11 21:17:05 +00:00
Pierre Joye
251b711eac - MFB: #41874, separate STDOUT and STDERR in exec functions 2009-06-09 14:07:06 +00:00
Pierre Joye
4ab529f058 - MFB: sync with 1.0.2, improve perf x86-64 (patch by Solar Designer) 2009-06-08 08:45:36 +00:00
Matt Wilmas
756d134c45 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:02 +00:00
Matt Wilmas
fa54a9d0f3 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:14 +00:00
Matt Wilmas
e9b382cc2e Added zend_eval_stringl and made create_function(), etc. binary-safe 2009-06-05 18:50:10 +00:00
Matt Wilmas
88127e2328 Fixed tests again after double->long conversion change (to match 5.2) 2009-06-05 17:15:18 +00:00
Matt Wilmas
9061bf39bd 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:24:09 +00:00
Brian Shire
08f7c7f016 Add test for Bug #47859 parse_ini_file() does not like asterisk (*) in key in the beginning 2009-06-03 19:37:22 +00:00
Pierre Joye
08528b4856 - fix title 2009-06-03 08:31:07 +00:00
Pierre Joye
0a170204f4 - MFB: fix parameter order and return value check in windows (Venkat Raman Don, Pierre)' link 2009-06-03 08:07:30 +00:00
Ilia Alshanetsky
ce046a899b ----------------------------------------------------------------------
Fixed test
2009-06-02 12:20:24 +00:00
Kalle Sommer Nielsen
f490cdfae3 % shouldn't be escaped here 2009-05-28 20:46:05 +00:00
Arnaud Le Blanc
df4d44d78c New test 2009-05-28 13:22:15 +00:00
Felipe Pena
6d34e06a2f - Dropped *_TEXT* macros in favor of unicode macros direct usage 2009-05-25 14:32:15 +00:00
Ilia Alshanetsky
2e83dd93eb MFB: Fixed bug #48313 (fgetcsv() return empty string rather then NULL for
empty rows)
2009-05-25 13:02:55 +00:00
Andrei Zmievski
afa4e41c2f Implement JIT request decoding support for $_GET and $_POST. 2009-05-23 18:03:27 +00:00
Arnaud Le Blanc
a7e195a07b set second argument of gettimeofday() to NULL (fixes #48346,
patch by adriano at guiadohardware dot net)
2009-05-21 14:21:18 +00:00
Jani Taskinen
a459fddd54 ws 2009-05-21 01:39:48 +00:00
Jani Taskinen
6af0033f7c - Fix non-windows builds too 2009-05-20 12:15:36 +00:00
Kalle Sommer Nielsen
4f33467dd1 Fix Windows build, dns_get_record is defined in dns_win32.c, not here 2009-05-20 08:16:56 +00:00
Jani Taskinen
1e56b53683 - Fix bug #48317 (compile failure in dns.h) (thanks to Pierre for introducing this) 2009-05-19 19:39:42 +00:00
Jani Taskinen
66c811daf9 - Unify the macros 2009-05-19 11:12:01 +00:00
Pierre Joye
20ab93a3e3 - MFB: #44859, fixed support for windows ACL, drop win9x code 2009-05-17 19:51:13 +00:00
Arnaud Le Blanc
0e4de79b40 Fixed bug #48309 (stream_copy_to_stream() and fpasstru() do not
update stream position of plain files)
2009-05-17 14:57:05 +00:00
Arnaud Le Blanc
b6b2d5d10f Test for #38802 2009-05-16 20:44:56 +00:00