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
Hannes Magnusson
5e9c0be4f8
Remove SKIPIF
2006-11-03 14:17:17 +00:00
Antony Dovgal
7bf64871c9
add new test by Pierre
2006-10-19 12:06:57 +00:00
Antony Dovgal
729ed6eafc
fix crash when parsing invalid hostnames/IPs
2006-10-11 12:53:38 +00:00
Sara Golemon
1aa537ebd4
Update (most of) the functions in streamsfuncs.c
...
This commit also includes a change to tests/file/stream_rfc2397_002.phpt
which doesn't entirely pass in unicode mode yet, however that's a unicode
issue in the data:// wrapper that needs fixing, not a problem with the
streams layer itself.
2006-09-21 19:53:10 +00:00
Antony Dovgal
e264e460a4
fix double free(), add test
2006-09-15 07:26:19 +00:00
Antony Dovgal
c1b3a17034
new tests
2006-08-15 08:53:55 +00:00
Antony Dovgal
3cf1565d90
typos in comments and other minor improvements
2006-08-10 13:44:00 +00:00
Antony Dovgal
20b0975a43
fix test
...
I really hope there are no systems where /dev is a symlink
2006-07-28 13:47:41 +00:00
Antony Dovgal
12f44c2b2b
fix #38086 (stream_copy_to_stream() returns 0 when maxlen is bigger than the actual length)
2006-07-13 11:58:42 +00:00
Antony Dovgal
f41a4f4546
/tmp is often a symlink, use /bin instead
2006-07-11 21:19:56 +00:00
Hannes Magnusson
d03ba9cdc5
fix test
2006-06-29 14:53:31 +00:00
Nuno Lopes
b5fda0101c
MFB 5.2
2006-06-20 21:58:03 +00:00
Hannes Magnusson
1cb807ab63
Renamed file to bug37864.phpt
2006-06-20 19:31:04 +00:00
Hannes Magnusson
2c87f890bc
Test for bug #37864 (file_get_contents() leaks on empty file)
2006-06-20 19:30:19 +00:00
Antony Dovgal
bc5a9692cb
don't leave garbage in tmp dir
2006-06-20 18:55:37 +00:00
Hannes Magnusson
f3334c8df3
add test for file_get_contents() leaking on empty file
2006-06-20 18:46:14 +00:00
Sara Golemon
a8ca40564c
Minor fixes (bjori)
2006-05-30 19:05:21 +00:00
Antony Dovgal
11b66c6cec
add test
2006-05-29 10:42:37 +00:00
Marcus Boerger
47343620cb
- Add new test
2006-05-23 22:26:55 +00:00
Marcus Boerger
a4d6c5a6f0
- Handle corrupt base64 data in data: url
2006-05-21 13:35:06 +00:00
Antony Dovgal
17c98844d5
new mkdir tests
2006-05-16 13:07:07 +00:00
Marcus Boerger
3856d8da6d
- Add strict compliant RFC2397 support (no //)
2006-05-14 18:35:40 +00:00
Marcus Boerger
3b66ab74f9
- RFC2397 add decoding
...
# done (need to decide whether all examples shouldl work or specs are
# followed)
2006-05-14 01:39:24 +00:00
Marcus Boerger
73069100fd
- Change to use dedicated stream ops
2006-05-14 00:45:27 +00:00
Marcus Boerger
4f29479a22
- RFC 2397 meta data handling
2006-05-14 00:40:53 +00:00
Marcus Boerger
29c0f5bede
- Initial RFC2397 support
...
# decoding is missing right now
2006-05-13 17:53:01 +00:00
Antony Dovgal
8a434f5df0
merge fix for #37158 into HEAD
...
add test
2006-04-22 23:49:39 +00:00
Ilia Alshanetsky
490609ffc4
MFB51: fixed test
2006-04-10 23:48:38 +00:00
Sara Golemon
b6f62cabff
Silence false positives on test results
2006-04-06 20:03:27 +00:00
Sara Golemon
78d1f7ea40
Silence false positives in test failures
2006-04-06 19:51:36 +00:00
Antony Dovgal
1df7e13f48
fix #36741 (userstreams testcase have off-by-one error on fseek())
2006-03-20 22:08:59 +00:00
Pierre Joye
bb1ec86f9d
- remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
...
(calling ini_set('magic_....') returns 0|false
- get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false
- set_magic_quotes_runtime raises an E_CORE_ERROR
2006-03-08 00:43:32 +00:00
Ilia Alshanetsky
a605fd39c4
More safe_mode nuking
2006-02-19 18:20:51 +00:00
Antony Dovgal
1c7661a301
MFB: fix #35781 (stream_filter_append() can cause segfault)
2005-12-23 15:05:42 +00:00
Antony Dovgal
8f5f3d8408
MFB: add test for #35740
2005-12-20 09:52:05 +00:00
Dmitry Stogov
4192685b64
Fixed bug #35393 (changing static protected members from outside the class, one more reference issue)
2005-11-28 14:33:44 +00:00
Dmitry Stogov
45699741e1
Fixed fgetcsv() and fputcsv() inconsistency.
2005-10-21 12:14:11 +00:00
Dmitry Stogov
8f6f97a77d
Unicode support
2005-08-23 12:53:31 +00:00
Andrei Zmievski
264cec8be6
Unicode support.
2005-08-11 23:36:07 +00:00
Ilia Alshanetsky
c933634253
Fixed crash inside stream_get_line() when length parameter equals 0.
2005-07-05 19:24:07 +00:00
Ilia Alshanetsky
49c233212b
Fixed bug #32160 (copying a file into itself leads to data loss).
2005-06-22 16:13:47 +00:00
foobar
a104447d46
Make sure $_ENV is populated
2005-06-18 02:24:37 +00:00
Wez Furlong
867e619154
add test for bug 27508
2005-05-11 02:01:44 +00:00
foobar
2887f89075
remove empty lines
2005-04-04 18:14:27 +00:00
foobar
28b13f50e6
Added testcase for bug #30362
2005-04-04 18:06:16 +00:00
Marcus Boerger
32e478b9fc
- Add fputcsv() (David Sklar)
2004-09-26 21:55:22 +00:00
Marcus Boerger
29cfd6d24f
- Remove unused blocks
2004-05-19 08:56:50 +00:00
Sara Golemon
72616e6eae
BugFix#27619
...
Filters not applied to pre-buffered stream data.
(esp. http:// streams)
2004-03-31 23:48:59 +00:00
Sara Golemon
4341ee6061
Userspace Directory Stream Test
2004-03-17 20:48:12 +00:00
Wez Furlong
0619eee6d0
test case for statcache corruption of BG
2004-02-23 21:07:10 +00:00
foobar
8cd863f738
test case for bug #26938
2004-01-21 22:48:28 +00:00
Sara Golemon
1fb629de8a
Typo
2004-01-21 04:08:10 +00:00
Ilia Alshanetsky
608db4728b
Added fgetcsv() tests.
2004-01-19 03:55:29 +00:00
Moriyoshi Koizumi
27f47eb173
"seq" isn't available for all platforms.
2004-01-04 03:06:11 +00:00
Sara Golemon
4af0ba44d9
Test additional wrapper methods [unlink, rename, mkdir, rmdir, url_stat]
2003-12-28 01:06:38 +00:00
Derick Rethans
112f424f70
- Fixed bug #26615 (patch by runekl at opoint dot com)
2003-12-13 18:55:53 +00:00
Marcus Boerger
c3fddcab62
Fix tests for E_STRICT and check for E_STRICT in run-tests.php.
2003-11-30 13:57:20 +00:00
Moriyoshi Koizumi
6b7bd4be8f
ctime ( #10 ) may differ on several filesystems.
...
# I confirmed it on Darwin
2003-11-14 08:59:30 +00:00
Moriyoshi Koizumi
28369f6e86
Add test case for bug #26003
2003-10-29 19:45:38 +00:00
Ilia Alshanetsky
4d349926ff
Fixed some test names.
...
Removed extraneous \r from a number of tests.
2003-10-24 03:31:57 +00:00
Moriyoshi Koizumi
5dac05638f
Fix typo
2003-10-20 15:45:01 +00:00
Ilia Alshanetsky
c23609efa7
Fixed paths in various tests. In certain conditions usage of partial file
...
paths results in test failures.
2003-08-18 22:57:49 +00:00
Hartmut Holzgraefe
b0a4e1a2d2
whitespace
2003-07-15 17:28:41 +00:00
Hartmut Holzgraefe
2f5a3b4c63
#1 $_ENV is not always set, use getenv() instead
...
#2 bail out after 1000 loop iterations to avoid hanging tests
2003-07-15 16:55:44 +00:00
foobar
94a19d1bc6
Make this test work regardless of safe_mode setting (bug #24654 )
2003-07-15 07:06:42 +00:00
Moriyoshi Koizumi
d33ffb78aa
Added regression test for proc_open()
2003-07-13 08:03:46 +00:00
Hartmut Holzgraefe
de6a6ed6d7
skip test if glob() is not available at all
2003-07-04 15:07:11 +00:00
Hartmut Holzgraefe
3c34e4edaf
regression test for #24482 GLOB_ONLYDIR is not working (on BSD)
2003-07-04 14:38:07 +00:00
Moriyoshi Koizumi
181508a837
s/cvs/csv/
2003-07-02 17:07:56 +00:00
Moriyoshi Koizumi
ed033faaec
s/cvs/csv/ :)
2003-07-02 15:43:44 +00:00
Ilia Alshanetsky
a6fd611c5e
Added array handling to file_put_contents()
...
More verbose error reporting mechanism.
Test case for file_put_contents().
2003-06-28 20:06:13 +00:00
Ilia Alshanetsky
6b5b6079da
Fix for bug #24313 (port from dead PHP_5 branch)
2003-06-24 13:56:25 +00:00
Derick Rethans
92f0da58e6
- Rename stream_register_filter() to stream_filter_register(),
...
stream_register_wrapper() to stream_wrapper_register() and added an alias for
the latter change.
2003-05-19 15:35:06 +00:00
foobar
422309353d
CS
2003-05-18 14:55:18 +00:00
Moriyoshi Koizumi
80c75c4d62
MFB(r-1.1.2.7): fix test
2003-05-17 20:06:00 +00:00
Moriyoshi Koizumi
f78ec11339
Fixed test so it won't fail in case the output handler is enabled
2003-05-15 19:20:31 +00:00
Ilia Alshanetsky
6bc4ce43d0
Do not hardcode php path.
2003-04-19 18:10:54 +00:00
Ilia Alshanetsky
e4c38aec5a
Do not make the test rely on the availability of the cat command.
2003-04-19 17:45:46 +00:00
Sara Golemon
c249c67178
New test for userfilters rewrite
2003-04-02 00:41:09 +00:00
Ilia Alshanetsky
b162e18a29
Skip test if running under safe-mode.
2003-03-04 14:37:38 +00:00
Ilia Alshanetsky
503e49feae
Fixed test.
2003-02-25 16:27:51 +00:00
Ilia Alshanetsky
f29964e2ba
Fixed bug #22414 and added a test case for it.
2003-02-25 16:21:00 +00:00