1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 10:43:30 +02:00
Commit Graph

1657 Commits

Author SHA1 Message Date
Pierre Joye 056f0aea30 - fix #49047, touch may fail on directory 2009-08-25 09:16:53 +00:00
Pierre Joye 4c85f48c89 - fix test when part of the path is a symlink 2009-08-25 00:22:11 +00:00
Pierre Joye 3db4fe36a4 - fix test 2009-08-25 00:14:23 +00:00
Pierre Joye 39ba13c3ad - fix test 2009-08-24 19:19:43 +00:00
Pierre Joye 64918d5168 - fix test 2009-08-24 18:44:59 +00:00
Pierre Joye 30c4b8ff29 - fix test 2009-08-24 18:43:21 +00:00
andy wharmby e90f0eda2d New basic test for md5(). Tested on Windows, Linux and Linux 64 bit 2009-08-19 08:39:33 +00:00
Stanislav Malyshev d6ba6c69fb fix crash when unexpectedly passed by-ref parameter is modified 2009-08-18 20:51:49 +00:00
andy wharmby e9a960bba6 New str_replace() tests. All tested on Windows, Linux and Linux 64 2009-08-17 22:41:30 +00:00
andy wharmby 6c56fd6898 New basic tests for uniqid(). Tested on Windows, Linux and Linux 64 bit 2009-08-17 14:22:02 +00:00
andy wharmby 1cfc27bb8c 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
Rasmus Lerdorf 5ca166b1d2 FIx test after Stas' explode() fix 2009-08-14 01:42:11 +00:00
Stanislav Malyshev e52517d610 standardise and clean up string functions parameter parsing 2009-08-13 06:44:50 +00:00
Rasmus Lerdorf 5f962f0e38 Oops, didn't mean to remove the -0 here 2009-08-10 23:18:07 +00:00
Rasmus Lerdorf 4a607c147d Tweak a few tests that failed on OSX 2009-08-10 06:53:49 +00:00
Rasmus Lerdorf ecb9a94472 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 d02332b43f 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 53349c7769 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
Jani Taskinen 46a94ebaa6 - Fix test 2009-08-06 13:54:21 +00:00
Rasmus Lerdorf 6704038c73 More eol crap 2009-08-06 13:31:03 +00:00
Rasmus Lerdorf 97b1247f2f Fix more tests messed up by svn 2009-08-06 13:26:43 +00:00
andy wharmby 8275f0d254 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 e0b0c49ae3 Add new use-case to parse_str() test. Tested on Windows, Linux and Linux 64 2009-08-05 08:54:27 +00:00
andy wharmby 3eaa521ed9 Fix tests 2009-08-04 23:16:25 +00:00
Jani Taskinen b053fb5af6 - Add test (yes, it fails still :) 2009-08-04 12:16:40 +00:00
Antony Dovgal bb8d9fa656 cosmetic fix 2009-08-04 09:27:15 +00:00
Jani Taskinen d03720480f - Fixed bug #48768 (parse_ini_*() crash with INI_SCANNER_RAW) 2009-08-04 02:56:26 +00:00
Jani Taskinen a845f681bb - Fix title 2009-08-04 02:55:24 +00:00
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