Commit Graph

387 Commits

Author SHA1 Message Date
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
Antony Dovgal
f7199024dc fix open tag 2007-11-08 13:34:35 +00:00
Dmitry Stogov
c49b08fe9a Fixed bug #43216 (stream_is_local() returns false on "file://") 2007-11-08 13:29:38 +00:00
Antony Dovgal
4cb29ab065 this error message may vary 2007-11-08 10:19:39 +00:00
Jani Taskinen
a210bf4314 fix: #2 2007-11-06 13:44:04 +00:00
Jani Taskinen
52cdef821b fix cleanup 2007-11-06 13:21:55 +00:00
Jani Taskinen
4e64d593b5 - Fix another wrong expected result (this is a bug!) 2007-11-05 17:28:58 +00:00
Jani Taskinen
393140df52 - Fix another wrong expected result 2007-11-05 17:24:00 +00:00
Jani Taskinen
bf83ffb3f2 - Fix expected result. This has hidden an obvious bug.. 2007-11-05 17:09:26 +00:00
Jani Taskinen
532761442d fix test 2007-11-02 12:57:52 +00:00
Raghubansh Kumar
4025ace975 fix tests: proper temp file names 2007-11-02 03:57:48 +00:00
Raghubansh Kumar
bec1eaae7d fix tests: proper temp file names 2007-11-02 03:11:00 +00:00
Jani Taskinen
7bd01cbce2 - Fix typo (bug #43125) 2007-10-31 13:39:00 +00:00
Jani Taskinen
eb1a26c8b2 - Fixed bug #43137 (rmdir() and rename() do not clear statcache) 2007-10-31 13:22:18 +00:00
Ilia Alshanetsky
ade493157b MFB: Fixed bug #42944 (test failing due to expectation that /etc/passwd has
0644 permissions).
2007-10-21 15:41:53 +00:00
Raghubansh Kumar
84bf8ae506 fix test (temp. file name) 2007-10-11 11:50:10 +00:00
Raghubansh Kumar
87ebc71b60 fix tests 2007-10-09 04:52:47 +00:00
Jani Taskinen
d386401a1d fix test 2007-10-05 14:57:18 +00:00
David Soria Parra
ab38cc8d89 - Add an escape parameter to fgetcsv to satisfy rfc4180 and bug #40501. 2007-10-03 10:31:04 +00:00
Jani Taskinen
f964370a35 - Added ".htaccess" style user-defined php.ini files support for
CGI/FastCGI.
- Added support for special [PATH=/opt/httpd/www.example.com/] sections
  in php.ini. All directives set in these sections will not be able to be
  overridden in user-defined ini-files or during runtime in the specified
  path.

- Improved php.ini handling:
  . Added better error reporting for syntax errors in php.ini files
  . Allowed "ini-variables" to be used almost everywhere ini php.ini files
  . Allowed using alphanumeric/variable indexes in "array" ini options
  . Fixed get_cfg_var() to be able to return "array" ini options

- Fixed bug #27372 (parse error loading browscap.ini at apache startup)
- Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric
  characters)

@DOC Pierre promised to handle the manual part of this :D
2007-09-28 02:04:28 +00:00
Jani Taskinen
b11587f988 - Fix test descriptions to be in sync 2007-09-20 13:39:04 +00:00
Ilia Alshanetsky
c55bf5fc80 MFB: Fixed test for glob() affected by previous patch 2007-09-20 13:29:22 +00:00
Raghubansh Kumar
35405b401a Removing from file dir as it was wrongly committed to this dir 2007-09-14 19:10:04 +00:00
Raghubansh Kumar
c0a64e0cba better comments 2007-09-14 14:28:42 +00:00
Raghubansh Kumar
0bbb0489ec New testcases for wordwrap() 2007-09-14 14:17:22 +00:00
Raghubansh Kumar
798aa19de7 fix test 2007-09-14 09:44:02 +00:00
Nuno Lopes
fbd1076132 MFB: fix expected output 2007-09-13 18:56:21 +00:00
Nuno Lopes
7ee5d8c6c9 MFB: fix skip reasons 2007-09-13 18:26:12 +00:00
Raghubansh Kumar
9aaf21fc0f marked with Bug #42038 2007-09-12 09:49:25 +00:00
Raghubansh Kumar
5a69a2341e marked with bug#42638 2007-09-12 08:29:34 +00:00
Zoe Slattery
1c99d1b141 made equivalent (to php5 test) changes to the expected output. Although this test did originally have the right EXP section 2007-09-07 11:06:48 +00:00
Raghubansh Kumar
81313aed39 fix tests 2007-09-04 08:39:40 +00:00
Raghubansh Kumar
668d2d59c2 fix tests: do not run when noatime set 2007-08-30 04:02:57 +00:00
Raghubansh Kumar
57bc6ad6bb fix tests: do not run on MACOS 2007-08-29 10:13:25 +00:00
Raghubansh Kumar
6ff029a37d fix tests 2007-08-23 09:34:15 +00:00