Commit Graph

340 Commits

Author SHA1 Message Date
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