Commit Graph

421 Commits

Author SHA1 Message Date
andy wharmby
def5c80e77 Fix Windows tests after #47037 2009-01-12 15:58:41 +00:00
Antony Dovgal
8763cf64c8 cleanup garbage 2009-01-09 23:16:41 +00:00
Antony Dovgal
5e51b9529e fix test
use bigger file to be able to see the difference
2009-01-08 21:53:36 +00:00
Felipe Pena
2aae851d58 - Fixed tests 2009-01-08 18:46:55 +00:00
andy wharmby
4aa3d06632 Fix bogus file tests - addresses 2 failures in PHP GCOV reports. Tested on Windows, Linux and Linux 64 bit 2009-01-08 10:39:50 +00:00
Felipe Pena
aa6580c0ac - Fixed tests 2009-01-05 19:04:27 +00:00
Zoe Slattery
3385d8bda0 removing xfail sections as test passes 2008-12-31 20:43:52 +00:00
Ant Phillips
c5417157fa 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-31 10:36:13 +00:00
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
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
Ant Phillips
4021b612bf Remove duff comment produced by the test generator tool 2008-12-05 14:18:00 +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
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
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
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
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
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
Felipe Pena
a26fab9f6b - Fixed unexpected zval changes 2008-09-12 01:10:56 +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
Felipe Pena
0b5e6c5fd8 - Fixed tests 2008-08-30 22:16:29 +00:00
Pierre Joye
4c86d24f5e - make it portable 2008-08-21 09:43:38 +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
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
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
Jani Taskinen
48442e4ab8 - Fix tests 2008-08-14 23:43:21 +00:00
Jani Taskinen
06137bf0ce - Fix test: Do not leave your crap behind! 2008-08-14 23:25:27 +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
Pierre Joye
bb8085acc4 - fix string len 2008-08-10 14:15:31 +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
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
Arnaud Le Blanc
4386384222 Fixed test 2008-08-05 10:09:12 +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
Felipe Pena
f76da1b96c - Fixed bug #44246 (closedir() accepts a file resource opened by fopen()) 2008-07-22 14:06:17 +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
Felix De Vliegher
8c22747b68 MFB: tests for lchown(), testfest.php.net task number 129. 2008-06-26 09:12:40 +00:00
Felipe Pena
5b4685d724 - Fixed tests 2008-06-13 13:43:55 +00:00
Steve Seear
79cb128c59 Filesystem tests. 2008-06-11 12:40:34 +00:00
Steph Fox
a4cb8c536f - killed off UEXPECT 2008-05-27 09:34:55 +00:00
Ant Phillips
b6c0148fc0 Collect all the open_basedir security tests into one place 2008-05-09 08:44:44 +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
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
b4f5622904 Adding filesystem tests 2008-03-19 17:26:36 +00:00
Felipe Pena
d321bfba65 Fixed test 2008-03-19 15:22:59 +00:00
Dmitry Stogov
a0378d3514 Fixed test 2008-03-18 06:44:54 +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
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
Felipe Pena
702a290aba Fix test 2008-03-05 14:22:06 +00:00
Felipe Pena
748677148c Fixed tests 2008-02-28 15:28:00 +00:00
Steve Seear
47742538ff Replace hardcoded resource ids with %d in fgetc() tests. 2008-02-25 10:33:30 +00:00
Antony Dovgal
82df944f6a more cosmetics 2008-02-15 09:35:47 +00:00
Johannes Schlüter
6595b0dc5e The exact message differs on different systems 2008-02-10 23:36:27 +00:00
Felipe Pena
6420454991 New test 2008-02-10 03:55:39 +00:00
Felipe Pena
c866bc64cf Fix wrong test 2008-02-04 19:58:12 +00:00
Greg Beaver
e54eb5513e clarify error message on why opening a stream wrapper failed for allow_url_include/allow_url_fopen, add test for allow_url_fopen 2008-01-12 15:50:17 +00:00
Ilia Alshanetsky
d963eaffcc MFB: Fixed bug #43522 (stream_get_line() eats additional characters) 2007-12-10 14:19:20 +00:00
Jani Taskinen
d4664800ac - Added test for chown bug 2007-11-21 11:31:49 +00:00
Johannes Schlüter
6e7ba5ba5f Add stream_supports_lock() function (Benjamin Schulz) 2007-11-20 22:16:20 +00:00
Dmitry Stogov
ab34cdc706 fixed SIGSEGV in chgrp() 2007-11-19 15:55:48 +00:00
Antony Dovgal
c70b4662a5 fix test (thanks to Felipe Pena for noticing) 2007-11-15 22:14:04 +00:00
Derick Rethans
bf10f44aa2 - Add a testcase for chgrp() with a NULL as group name, which crashes ATM. 2007-11-14 15:51:35 +00:00
Dmitry Stogov
bc939dce43 Fixed bug #43248 (backward compatibility break in realpath()) 2007-11-13 09:47:19 +00:00