Commit Graph

372 Commits

Author SHA1 Message Date
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
Raghubansh Kumar
1419d23f6a fix test: skip if user is root 2007-08-20 04:08:15 +00:00
Raghubansh Kumar
66fe5012a2 fix tests 2007-08-20 03:40:41 +00:00
Raghubansh Kumar
1aad43dc22 fix test: skip if user is root 2007-08-20 03:14:58 +00:00
Raghubansh Kumar
4669c2d40a fix test 2007-08-16 16:33:16 +00:00
Raghubansh Kumar
ae5dcdccf2 fix tests 2007-08-14 14:10:31 +00:00
Raghubansh Kumar
1514977352 New testcase for clearstatcache() function 2007-08-13 11:50:47 +00:00
Raghubansh Kumar
c0ebb17904 New testcase for parse_ini_file() function 2007-08-13 11:37:11 +00:00
Jani Taskinen
bdd54e7c9b MFB: Fix tests + directory check inside copy() function 2007-08-13 08:14:03 +00:00
Raghubansh Kumar
721e2ab3a7 New testcases for fgetss() function 2007-08-12 06:55:52 +00:00
Raghubansh Kumar
c7d2d62a02 More new testcases for fopen() & fclose() functions 2007-08-12 05:14:13 +00:00
Antony Dovgal
ceb482dfb1 more fixed tests 2007-08-11 22:42:19 +00:00
Antony Dovgal
44d8314d9c fix tests failing on 64bit 2007-08-11 22:18:33 +00:00
Raghubansh Kumar
30a08a895b New testcases for fscanf() function 2007-08-10 17:56:45 +00:00
Raghubansh Kumar
fb3c7a7250 New testcases for htmlentities() & htmlspecialchars() 2007-08-10 15:08:45 +00:00
Antony Dovgal
edb216d3dc fix tests 2007-08-10 12:10:19 +00:00
Raghubansh Kumar
96fc4edc59 more new testcases for tempnam() function 2007-08-10 03:33:00 +00:00
Raghubansh Kumar
752ead40e2 More new testcases for copy() function 2007-08-10 02:58:50 +00:00
Raghubansh Kumar
6cb89102e7 New testcases for tempnam() function 2007-08-09 03:35:22 +00:00
Raghubansh Kumar
8d87a8cf70 New testcases for fgetcsv() function 2007-08-08 13:15:01 +00:00
Raghubansh Kumar
34a7853c49 More testcases for fputcsv() function 2007-08-08 13:09:42 +00:00
Raghubansh Kumar
e2d9b55057 New testcases for fputcsv() function 2007-08-08 03:55:05 +00:00
Raghubansh Kumar
6842c58737 file.inc : Added dumping of stat array in functions (compare_self_stat() & compare_stats() )
Smaller testcases for lstat_stat_variation[1-7].phpt files
2007-07-26 13:55:42 +00:00
Dmitry Stogov
11c5577116 Fixed EOF handling in case of reading from file opened in write only mode. 2007-07-25 16:34:27 +00:00
Jani Taskinen
6b7c17e222 fix descriptions 2007-07-23 10:45:53 +00:00
Raghubansh Kumar
d4b7248e8a More new testcases for glob() 2007-07-23 10:45:11 +00:00
Jani Taskinen
0a625249c3 fix test descriptions 2007-07-23 10:44:04 +00:00
Antony Dovgal
9f46c89c3b more tests 2007-07-23 09:14:28 +00:00
Dmitry Stogov
16fa4dcbf7 Fixed wrong expectation 2007-07-23 08:57:47 +00:00
Raghubansh Kumar
c06a7d5ffd New testcases for glob() function 2007-07-23 05:25:19 +00:00
Raghubansh Kumar
e5a2101c2a More new testcases for fread() function 2007-07-22 17:38:48 +00:00
Raghubansh Kumar
00ecf433a6 New testcases for fread() functions 2007-07-22 17:30:27 +00:00
Raghubansh Kumar
7c205bb294 smaller testcases for stat() function on Windows 2007-07-22 12:32:45 +00:00
Raghubansh Kumar
3f04550eea New testcases for ftruncate() function 2007-07-22 12:30:53 +00:00
Raghubansh Kumar
995caaf5ba fix tests 2007-07-22 12:28:31 +00:00
Raghubansh Kumar
c4e10a6be1 New testcases for umask() function 2007-07-21 18:18:23 +00:00
Raghubansh Kumar
aeac0426f5 New testcases for lstat() and stat() functions 2007-07-21 17:27:45 +00:00
Raghubansh Kumar
cde94cb7b1 New testcases for is_file() function 2007-07-21 17:25:59 +00:00
Raghubansh Kumar
e889f297f3 New testcases for is_dir() function 2007-07-21 17:24:29 +00:00
Raghubansh Kumar
e41c15f71e New testcases for fseek(), ftell() & rewind() functions 2007-07-21 17:22:32 +00:00
Raghubansh Kumar
edad34bd15 New testcases for fflush() function 2007-07-21 17:19:27 +00:00
Raghubansh Kumar
75ad7fa7db New testcases for fwrite(), fgetc() and fgets() functions 2007-07-21 08:01:25 +00:00
Raghubansh Kumar
c61fda5b94 Fix for fill_file() function in file.inc
New testcases for readfile() and umask() functions
2007-07-20 18:09:11 +00:00
Antony Dovgal
bbf8afc3a4 make sure the cache is flushed when doing stat calls 2007-07-19 12:16:24 +00:00
Raghubansh Kumar
dc721705af New testcases for filesystem handling function : unlink() 2007-07-18 04:57:25 +00:00
Raghubansh Kumar
eadb9f96c1 fix tests 2007-07-16 18:02:11 +00:00
Raghubansh Kumar
b4c1b36999 New testcases 2007-07-16 17:36:33 +00:00
Jani Taskinen
d7e208a6c6 - Use explode instead of split (ereg goes bye bye..) 2007-07-16 12:35:33 +00:00
Antony Dovgal
b28ea6b885 fix test 2007-07-16 10:39:34 +00:00
Jani Taskinen
08c67fa3c4 - Added test for bug #41815 2007-07-12 11:07:29 +00:00
Dmitry Stogov
89aef801cf Fixed tests 2007-07-11 12:57:55 +00:00
Dmitry Stogov
1f8c608320 Fixed symlink("", "somthing") and link("", "somthing") in ZTS mode 2007-07-10 13:21:31 +00:00
Raghubansh Kumar
056130b3dd fix and new test for sunos 2007-07-10 07:26:31 +00:00
Raghubansh Kumar
2de2f8facd These testcases are now split into smaller testcases, hence being deleted 2007-07-09 17:52:42 +00:00
Raghubansh Kumar
7757829df0 Fix and smaller testcases for mkdir_rmdir_variation.phpt, readlink_realpath_basic.phpt, readlink_realpath_error.phpt & readlink_realpath_variation.phpt 2007-07-09 17:40:16 +00:00
Raghubansh Kumar
985df6212e These files are now split into one or more smaller testcases, hence being deleted. 2007-07-08 12:51:03 +00:00
Raghubansh Kumar
343f87658b Fix and smaller testcases for is_executable_variation.phpt, is_readable_variation.phpt & is_writable_variation.phpt 2007-07-06 18:28:33 +00:00
Raghubansh Kumar
301b356568 Better check for root user 2007-07-06 03:24:27 +00:00
Raghubansh Kumar
6c081bba9b fix test: 006_error.phpt & filegroup_basic.phpt
fix and smaller tests for symlink_link_linkinfo_is_link[basic|error|variation].phpt
2007-07-05 18:59:20 +00:00
Dmitry Stogov
f766275b7a Added ability to create local or remote (URL) user streams
Local user streams must not be able to open(), URLs if allow_url_include is off
Implemented new function stream_is_local()
[
- stream_wrapper_register() extended with additional optional argument "flags"
  of type long. This time only one flag is implemented - STREAM_IS_URL, that
  means that userstream wrapper is remote (URL). By default stream is local.
- stream_is_local() is a new function that accepts stream and tell if this
  stream is local or remote (URL)
]
2007-07-03 10:22:55 +00:00
Raghubansh Kumar
070632248f Smaller testcases for 006_variation.phpt, file_get_contents_file_put_contents_variation.phpt, filesize_variation.phpt, filesize_variation-win32.phpt, fwrite_variation.phpt, fwrite_variation-win32.phpt.
Fix for filesize_variation to match filesize using %d
2007-07-03 07:13:04 +00:00
Antony Dovgal
c27fff27be cleanup tmp files 2007-06-29 12:56:08 +00:00
Antony Dovgal
06f739c018 divide the test into smaller ones 2007-06-29 12:54:06 +00:00
Antony Dovgal
6437c3ba3a fix test 2007-06-25 21:24:37 +00:00
Antony Dovgal
d58b7c8921 fix test 2007-06-25 17:10:07 +00:00
Dmitry Stogov
0caea15ec7 Fixed tests 2007-06-25 09:02:07 +00:00
Dmitry Stogov
5b29e664b4 Better fix for bug #41655 2007-06-25 08:40:36 +00:00
Pierre Joye
fef59c06bd - MFB: add test cases for #41655 2007-06-22 12:36:55 +00:00
Raghubansh Kumar
b96915cd5c New tests for file system handling functions 2007-06-22 08:14:16 +00:00
Raghubansh Kumar
35f3b30d64 New tests for file system handling functions 2007-06-21 21:14:21 +00:00
Raghubansh Kumar
96ced8a39a New functons to compare stat array 2007-06-21 21:08:38 +00:00
Raghubansh Kumar
0465ee4006 New tests for file system handling functions 2007-06-18 19:51:11 +00:00
Dmitry Stogov
48012d80e1 Fixed yet another realpath cache bug and wrong tests 2007-06-18 09:51:03 +00:00
Dmitry Stogov
455cb3e672 Prevent memory overflow 2007-06-15 08:05:15 +00:00
Raghubansh Kumar
6e14524d5e New tests for file system handling functions 2007-06-14 20:30:16 +00:00
Zoe Slattery
affcaa4cb5 Tests are not valid if run by root - adding check to skip is user is root. 2007-06-14 16:15:50 +00:00
Raghubansh Kumar
d827201d8c New tests for file system handling functions 2007-06-13 22:46:37 +00:00
Raghubansh Kumar
f31ae00184 New tests for file handling system functions 2007-06-11 16:40:27 +00:00
Zoe Slattery
a6ac3f8c20 New tests for file handling 2007-06-06 12:50:06 +00:00
Zoe Slattery
4f38742d2f fixed file permission for new empty file 2007-06-06 12:48:13 +00:00
Zoe Slattery
ce111057a4 Fixing incorrect comment in test cases fileinode_variation and filetype_variation 2007-06-05 11:32:45 +00:00
Zoe Slattery
bdc7acb0d4 New test cases for file system functions 2007-06-05 09:20:17 +00:00
Zoe Slattery
c7590816d5 Updated test output in line with changes to file.inc 2007-06-05 07:57:48 +00:00
Zoe Slattery
bcb5c46495 Added fill_buffer() and fixed file_fill() to write binary data only 2007-06-05 07:54:58 +00:00
Zoe Slattery
3ee8de4afb missing ?> in skipif section 2007-06-04 17:00:44 +00:00
Antony Dovgal
28747bebc9 fix tests 2007-05-29 12:26:59 +00:00
Zoe Slattery
863ee40af2 New tests for file/general_functions/strings 2007-05-25 13:50:06 +00:00
Antony Dovgal
419c5b3db1 fix tests
add test for yet not merged fix
2007-04-26 23:42:36 +00:00
Dmitry Stogov
fbccef91d7 Fixed tests (win32) 2007-04-18 14:51:47 +00:00
Antony Dovgal
702c31844b fix tests 2007-03-06 20:53:11 +00:00
Nuno Lopes
65f3544a3c MFB 2007-03-02 18:54:41 +00:00
Antony Dovgal
2edcbcbbd5 minor improvements 2007-02-21 22:08:00 +00:00
Antony Dovgal
c4b38c3af0 fix test on FreeBSD 2007-02-21 19:57:08 +00:00
Antony Dovgal
c212923e29 new/improved tests 2007-02-13 13:01:18 +00:00
Antony Dovgal
d8179ac018 fix tests 2007-02-12 14:48:52 +00:00
Antony Dovgal
834c79180c fix test 2007-02-11 20:06:05 +00:00
Antony Dovgal
32b3917098 add test 2007-02-07 21:12:48 +00:00
Dmitry Stogov
7d1110a3fb Fixed bug #39367 (clearstatcache() doesn't clear realpath cache)
Fixed bug #40092 (chroot() doesn't clear realpath cache)
2007-01-22 09:32:55 +00:00
Antony Dovgal
1857da91b4 fix *scanf() tests 2006-12-27 15:26:13 +00:00
Antony Dovgal
7ea07ff6dc MFB tests (they still fail though)
fix BC in fgetss()
2006-12-07 23:00:45 +00:00
Antony Dovgal
024d8f4376 cosmetic improvements 2006-12-05 23:03:42 +00:00
Sara Golemon
78f65cc451 Unicode upgrade for fgetcsv() 2006-12-05 04:13:47 +00:00
Antony Dovgal
9ed4f515d1 fix #39673 (file_get_contents causes bus error on certain offsets) 2006-11-29 11:10:49 +00:00
Pierre Joye
19abc4b507 - #39538, fgetcsv can't handle starting newlines and trailing odd
number of backslashes (David Soria Parra, Pierre)
2006-11-22 12:56:26 +00:00
Antony Dovgal
8373efc9b9 fix #39551 (Segfault with stream_bucket_new in user filter)
also fixes several segfaults and leaks
add test
2006-11-21 15:47:44 +00:00
Antony Dovgal
b198d2d028 fix test on Solaris 2006-11-20 16:28:14 +00:00
Antony Dovgal
c41f14297c fix tests (add missing SKIPIF sections and a fix for FreeBSD) 2006-11-16 13:49:01 +00:00
Antony Dovgal
107229611b more new tests, yikes! 2006-11-16 13:00:03 +00:00
Antony Dovgal
1063fa6a90 add new tests 2006-11-15 22:42:28 +00:00
Antony Dovgal
bbc854a4bd add new tests 2006-11-15 17:26:54 +00:00
Antony Dovgal
a92ccf9ab1 fix test on AIX 2006-11-15 12:11:07 +00:00
Antony Dovgal
f9847c0d0e fix test 2006-11-15 11:27:10 +00:00
Antony Dovgal
af43feda28 fix test 2006-11-15 10:48:30 +00:00
Antony Dovgal
f9d4063fed one more test 2006-11-14 22:23:23 +00:00
Antony Dovgal
41bb09b30d add new tests 2006-11-14 21:59:02 +00:00
Antony Dovgal
8c5c0ce29c fix test and prevent endless loop 2006-11-09 00:33:54 +00:00