Commit Graph

661 Commits

Author SHA1 Message Date
Pierre Joye
97076fa68e - fixed bug #60120, proc_open's streams may hang with stdin/out/err when the data exceeds or is equal to 2048 bytes 2011-10-24 12:39:55 +00:00
Pierre Joye
8bd6b9d87a - fixed bug #60120, proc_open's streams may hang with stdin/out/err when the data exceeds or is equal to 2048 bytes 2011-10-24 12:39:55 +00:00
Ferenc Kovacs
b38d56616b adding SKIP_SLOW_TESTS checks for the slow tests, and additionaly sync the domains used in the ext/standard/tests/network/getmxrr.phpt with the other branches 2011-10-23 10:09:29 +00:00
Ferenc Kovacs
8066746c73 adding SKIP_SLOW_TESTS checks for the slow tests, and additionaly sync the domains used in the ext/standard/tests/network/getmxrr.phpt with the other branches 2011-10-23 10:09:29 +00:00
Ferenc Kovacs
11de3aeedb adding SKIP_SLOW_TESTS checks for the slow tests, and additionaly sync the domains used in the ext/standard/tests/network/getmxrr.phpt with the other branches 2011-10-23 10:09:29 +00:00
Stanislav Malyshev
d81ea16ef1 Changed silent conversion of array to string to produce a notice. (Patrick) 2011-10-21 06:08:47 +00:00
Stanislav Malyshev
ed12ebc79c Changed silent conversion of array to string to produce a notice. (Patrick) 2011-10-21 06:08:47 +00:00
Pierre Joye
0ec7852b44 - add -win32 versions and skipif 2011-09-16 10:45:04 +00:00
Pierre Joye
c6b74fe209 - add -win32 versions and skipif 2011-09-16 10:45:04 +00:00
Pierre Joye
c4c7c48ac6 - fix test, again... 2011-09-08 11:52:37 +00:00
Pierre Joye
0507a433a3 - fix test, again... 2011-09-08 11:52:37 +00:00
Pierre Joye
6f2cd0fcef - fix test 2011-09-08 11:24:33 +00:00
Pierre Joye
923c02bbdc - fix test 2011-09-08 11:24:33 +00:00
Hannes Magnusson
e5553b210a Revert r316345 which fixes all the tests again 2011-09-07 13:50:18 +00:00
Hannes Magnusson
4e9a7658b8 Revert r316345 which fixes all the tests again 2011-09-07 13:50:18 +00:00
Pierre Joye
59614b05c4 - reject paths with trainling spaces using the very good new zend arg 2011-09-07 12:33:22 +00:00
Pierre Joye
6b4717da8e - reject paths with trainling spaces using the very good new zend arg 2011-09-07 12:33:22 +00:00
Hannes Magnusson
12d67c1a45 Fix cleanup routines 2011-09-07 12:05:19 +00:00
Hannes Magnusson
04044dd07e Fix cleanup routines 2011-09-07 12:05:19 +00:00
Hannes Magnusson
2fd3e799d8 The error message is different when built with zts 2011-09-07 10:41:38 +00:00
Hannes Magnusson
a68943fc69 The error message is different when built with zts 2011-09-07 10:41:38 +00:00
Pierre Joye
c4c86324ec - fix test 2011-09-06 07:44:43 +00:00
Pierre Joye
7c77d6b612 - fix test 2011-09-06 07:44:43 +00:00
Shein Alexey
491df98386 Reduced timeout in this test to 1ms, no need to wait further. 2011-09-05 14:43:08 +00:00
Shein Alexey
50d8d816c5 Reduced timeout in this test to 1ms, no need to wait further. 2011-09-05 14:43:08 +00:00
Shein Alexey
27ffd82f38 Reduced timeout in this test to 1ms, no need to wait further. 2011-09-05 14:43:08 +00:00
Pierre Joye
2ecaee20e9 - update test to the zeng arg path argument 2011-09-05 10:29:12 +00:00
Pierre Joye
2c2419623e - update test to the zeng arg path argument 2011-09-05 10:29:12 +00:00
Pierre Joye
69a1e5d3ac - fix test 2011-09-05 10:14:13 +00:00
Pierre Joye
f3dc9b1bd1 - fix test 2011-09-05 10:13:46 +00:00
Tjerk Anne Meesters
323ee1fe4c Fixed expect format to ignore the textual error message from readlink().
Bug #55555
2011-08-31 18:26:23 +00:00
Tjerk Anne Meesters
bc7942adb5 Fixed expect format to ignore the textual error message from readlink().
Bug #55555
2011-08-31 18:26:23 +00:00
Tjerk Anne Meesters
892ac1fe58 Fixed expect format to ignore the textual error message from readlink().
Bug #55555
2011-08-31 18:26:23 +00:00
Stanislav Malyshev
1c83f5e04c fix tests 2011-08-01 03:42:02 +00:00
Stanislav Malyshev
30aa3cea6a fix tests 2011-08-01 03:42:02 +00:00
Pierre Joye
fc8afdf178 - Fixed bug 55124, recursive mkdir fails with current (dot) directory in path 2011-07-26 17:44:20 +00:00
Pierre Joye
db25201ffb - Fixed bug 55124, recursive mkdir fails with current (dot) directory in path 2011-07-26 17:44:20 +00:00
Pierrick Charron
824726073b Delete empty test files (old MQ tests) 2011-07-22 12:12:05 +00:00
Pierrick Charron
fb5da94c1b Delete empty test files (old MQ tests) 2011-07-22 12:12:05 +00:00
Pierre Joye
45420bb669 - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ, missing tests changes in 5.4 2011-07-22 11:56:20 +00:00
Pierre Joye
cc1c7af037 - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ 2011-07-22 11:25:30 +00:00
Knut Urdalen
27934faf97 small fix in disk_total_space() tests (PHP_5_3 already includes this) 2011-06-25 21:22:42 +00:00
Knut Urdalen
c5a4e11bab small fix in disk_total_space() tests (PHP_5_3 already includes this) 2011-06-25 21:22:42 +00:00
Hannes Magnusson
9f8501b3b7 These are annoyingly slow 2011-06-23 21:27:42 +00:00
Hannes Magnusson
ffc6da20a0 These are annoyingly slow 2011-06-23 21:27:42 +00:00
Hannes Magnusson
71a5c3d7ec These are annoyingly slow 2011-06-23 21:27:42 +00:00
Ilia Alshanetsky
34d93f0c06 Zend Signal Handling 2011-06-22 14:23:21 +00:00
Felipe Pena
8f68b48514 - Fix tests 2011-06-19 15:43:16 +00:00
Felipe Pena
f417c732a9 - Fix tests 2011-06-19 15:43:16 +00:00
Felipe Pena
0a0443f07c - Missing fixes for grammar fix 's/valid path/a valid path/' 2011-06-09 00:23:43 +00:00
Felipe Pena
8f4d497964 - Missing fixes for grammar fix 's/valid path/a valid path/' 2011-06-09 00:23:43 +00:00
Felipe Pena
ddaddf6c2a s/valid path/a valid path/ 2011-06-08 00:53:55 +00:00
Felipe Pena
547ab48521 s/valid path/a valid path/ 2011-06-08 00:53:55 +00:00
Felipe Pena
a641ccb774 - Test fixes 2011-06-07 02:29:03 +00:00
Felipe Pena
ac86bf82b4 - Test fixes 2011-06-07 02:29:03 +00:00
Felipe Pena
d86b3633cf - Test fixes 2011-06-06 22:36:54 +00:00
Felipe Pena
8da563ed9a - Test fixes 2011-06-06 22:36:54 +00:00
Hannes Magnusson
eed6bdb5c7 When you write to a symlink - you access the file itself, not the symlink, so we need to compare the atime to the orignal file 2011-06-05 12:08:14 +00:00
Hannes Magnusson
d4f6e7d937 When you write to a symlink - you access the file itself, not the symlink, so we need to compare the atime to the orignal file 2011-06-05 12:08:14 +00:00
Hannes Magnusson
513faa54bb Make sure we are writing more data then the block size 2011-06-05 12:07:11 +00:00
Hannes Magnusson
c1a96c16d0 Make sure we are writing more data then the block size 2011-06-05 12:07:11 +00:00
Hannes Magnusson
86209a3919 touch() no longer attempts to create files on empty strings 2011-06-05 09:42:10 +00:00
Hannes Magnusson
9f7b09a265 touch() no longer attempts to create files on empty strings 2011-06-05 09:42:10 +00:00
Ilia Alshanetsky
34de2c30c5 Fixed bug #53848 (fgetcsv() ignores spaces at beginnings of fields). 2011-05-29 10:23:06 +00:00
Ilia Alshanetsky
69a12bfb3f Fixed bug #53848 (fgetcsv() ignores spaces at beginnings of fields). 2011-05-29 10:23:06 +00:00
Ilia Alshanetsky
57674f784f Fixed bug #53848 (fgetcsv() ignores spaces at beginnings of fields). 2011-05-29 10:23:06 +00:00
Stanislav Malyshev
f9088156f4 implement streams metadata API per RFC 2011-05-25 21:03:55 +00:00
Stanislav Malyshev
5c9080d3a6 implement streams metadata API per RFC 2011-05-25 21:03:55 +00:00
Philip Olson
e2caad5f96 Updated test. touch() emits E_WARNING for bogus values. Updated 5.3 test to look the same. 2011-05-24 23:27:49 +00:00
Philip Olson
bc499c4078 Updated test. touch() emits E_WARNING for bogus values. Updated 5.3 test to look the same. 2011-05-24 23:27:49 +00:00
Philip Olson
76ec6924cb Updated test. touch() emits E_WARNING for bogus values. Updated 5.3 test to look the same. 2011-05-24 23:27:49 +00:00
Stanislav Malyshev
9eb5cb6571 fix some failing tests 2011-05-23 07:06:04 +00:00
Stanislav Malyshev
9b8acf87a6 fix some failing tests 2011-05-23 07:06:04 +00:00
Ferenc Kovacs
36fde4043b removing XFAIL as #39863 has already been fixed 2011-05-16 23:28:46 +00:00
Ferenc Kovacs
a93c3ddbb7 removing XFAIL as #39863 has already been fixed 2011-05-16 23:28:46 +00:00
Ferenc Kovacs
3295e36bff removing XFAIL as #39863 has already been fixed 2011-05-16 23:28:46 +00:00
Ferenc Kovacs
a944f7a663 reverting 311103,311105-311109, will commit them to all three branches 2011-05-16 23:22:17 +00:00
Ferenc Kovacs
df2ca16fa8 removing XFAIL as #39863 has already been fixed 2011-05-16 19:40:12 +00:00
Antony Dovgal
278392a10b fix tests 2011-05-03 11:15:45 +00:00
Antony Dovgal
354cb67597 fix tests 2011-05-03 11:15:30 +00:00
Rasmus Lerdorf
8192ba2b60 Someone fixed these in trunk and didn't backport to PHP_5_3 2011-04-27 05:05:32 +00:00
Pierrick Charron
1368364469 Fix common typos in the source code (Reported in Bug #54065)
# External libraries were excluded
# Thanks eitan at eitanadler dot com for the first patch :)
2011-04-03 21:46:52 +00:00
Pierrick Charron
e8486cc374 Fix common typos in the source code (Reported in Bug #54065)
# External libraries were excluded
# Thanks eitan at eitanadler dot com for the first patch :)
2011-04-03 21:46:52 +00:00
Gustavo André dos Santos Lopes
7f2937223d - Make fclose() actually close stream, even when the resource refcount is > 1.
This reverts the fix for bug #24557.
- Make php_stream_free delete the stream from the resources list, not merely
  decrease its refcount, as a single call to zend_list_delete does.           
#Not worth the risk merging to 5.3. While change #2 may prevent some segfaults,
#a quick and dirty survey to the codebase only showed calls to php_stream_close
#or php_stream_free on streams allocated in the same function, which would have
#refcount == 1. May be reconsidered.
2011-03-21 02:58:54 +00:00
Gustavo André dos Santos Lopes
2034e14341 - Fixed SKIPIF section of bug52820.phpt. 2011-03-20 22:15:43 +00:00
Gustavo André dos Santos Lopes
a3a5157286 - PHP_STREAM_OPTION_WRITE_BUFFER no longer disables the read buffer of a plain
stream when 0 is given as the value.
- PHP_STREAM_OPTION_WRITE_BUFFER no longer changes the chunk size in socket
  streams.
- Added stream_set_chunk_size() function.
- Some signedness fixes.
- Test for commit r308474, now that it's possible to actually test it.
2011-02-19 01:28:37 +00:00
Gustavo André dos Santos Lopes
9bbc114b59 - Classes that implement stream wrappers can define a method called
stream_truncate that will respond to truncation, e.g. through ftruncate.
  Closes feature request #53888.
2011-02-17 00:25:32 +00:00
Gustavo André dos Santos Lopes
ff77814d03 - Tests and small parsing correction for php://fd wrapper 2010-12-11 02:08:02 +00:00
Gustavo André dos Santos Lopes
4fe751e8e4 - Tests and small parsing correction for php://fd wrapper 2010-12-11 02:08:02 +00:00
Gustavo André dos Santos Lopes
2a545be57f - Fix tests for \0 patch in PHP 5.3.
- Fix constants_error_004.phpt (closes bug #51901)
2010-11-22 05:10:14 +00:00
Gustavo André dos Santos Lopes
cdab5577c0 - Fixed borked test bug52820.phpt.
- Synced htmlentities17.phpt with trunk; there's no ≀ entity
  in HTML 4.01.
2010-11-18 21:44:42 +00:00
Gustavo André dos Santos Lopes
1045aa2a7c - Fixed bug #52820 (writes to fopencookie FILE* not commited when seeking the
stream).
2010-11-15 18:22:52 +00:00
Gustavo André dos Santos Lopes
e10454ded8 - Fixed bug #52820 (writes to fopencookie FILE* not commited when seeking the
stream).
2010-11-15 18:22:52 +00:00
Gustavo André dos Santos Lopes
c3727cc862 - Added test relative to the fix in rev #305346. 2010-11-15 14:51:26 +00:00
Gustavo André dos Santos Lopes
24636a7e1c - Altered htmlentities19.phpt (now htmlentities24.phpt) to reflect new default encoding
being UTF-8.
- Moved ext/standard/tests/file/htmlentities19.phpt and htmlspecialchars.phpt to the
  proper directory (tests/strings instead of tests/file). htmlentities19.phpt had to
  be renamed in order not to clash with an existing file.
2010-11-15 01:57:16 +00:00
Patrick Allaert
817776d1b9 - Fixed tests not passing under windows because of the directory separator
difference (thanks Eyal Teutsch for reporting)
2010-11-08 09:29:15 +00:00
Patrick Allaert
e2e76d40e3 - Fixed tests not passing under windows because of the directory separator
difference (thanks Eyal Teutsch for reporting)
2010-11-08 09:29:15 +00:00
Gustavo André dos Santos Lopes
dd038a9c89 - Added CLEAN section to recently committed test. 2010-11-05 01:56:28 +00:00
Gustavo André dos Santos Lopes
b7d69a4952 - Added CLEAN section to recently committed test. 2010-11-05 01:56:28 +00:00
Gustavo André dos Santos Lopes
68107ae1c3 - Fixed bug #53241 (stream casting that relies on fdopen/fopencookie fails
with streams opened with, inter alia, the 'xb' mode).
2010-11-05 01:29:08 +00:00
Gustavo André dos Santos Lopes
0a35133524 - Fixed bug #53241 (stream casting that relies on fdopen/fopencookie fails
with streams opened with, inter alia, the 'xb' mode).
2010-11-05 01:29:08 +00:00
Felipe Pena
ef1270e5d0 - Fix test 2010-08-08 16:48:32 +00:00
Christopher Jones
5441c86936 New test for file_exists (bug #39863). It currently xfail's 2010-06-05 19:44:48 +00:00
Christopher Jones
064eda1838 New test for file_exists (bug #39863). It currently xfail's 2010-06-05 19:44:48 +00:00
Kalle Sommer Nielsen
dd8e59da8f Removed safe_mode
* Removed ini options, safe_mode*
 * Removed --enable-safe-mode --with-exec-dir configure options on Unix
 * Updated extensions, SAPI's and core
 * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Hannes Magnusson
a1cce74e96 Fix test (the key can be negative) 2010-03-24 21:57:30 +00:00
Hannes Magnusson
b39c5383bf Fix test (the key can be negative) 2010-03-24 21:57:30 +00:00
Pierre Joye
658e86b847 - prevent unexpectable behaviors (for the user) with invalid path 2010-02-07 20:15:58 +00:00
Pierre Joye
860e06a8ba - system/version dependent msg 2010-02-01 16:19:27 +00:00
Pierre Joye
e1cdfbeb1d - fix system/version dependent msg, add skip cases, sync 2010-02-01 15:18:55 +00:00
Pierre Joye
5f935b4da5 - fix skip clauses 2010-01-30 21:24:04 +00:00
Pierre Joye
43b31ea3ea - fix test init 2010-01-30 21:12:20 +00:00
Pierre Joye
891d7ebe1b - cleanup & correct msg 2010-01-30 20:21:16 +00:00
Pierre Joye
88a6d735b1 - this value is platform dependent (unix too) 2010-01-30 20:14:36 +00:00
Pierre Joye
ef48a746fd - cs 2010-01-30 17:56:00 +00:00
Pierre Joye
8d9b6f04b4 - fix test, rewrite it (same cases are tested), CS, simplify, be verbose on error not otherwise (avoid infinite loop in pcre_match inside run-test) 2010-01-30 17:06:06 +00:00
Pierre Joye
957a996f16 - fix test 2010-01-28 21:29:00 +00:00
Pierre Joye
61274a0570 - more EOL fixes, don't use expectf 2010-01-28 00:37:20 +00:00
Pierre Joye
81ac81c494 - fix possible EOL conversion on svn co on windows 2010-01-28 00:05:37 +00:00
Pierre Joye
6c2f62c7a2 - skip if not enough permission and add to trunk 2010-01-27 23:54:52 +00:00
Pierre Joye
ab91fa848a - update/fix/skip/add for rename tests 2010-01-27 11:23:43 +00:00
Pierre Joye
d58d42a824 - fix and update test according to recent fixes 2010-01-27 10:08:43 +00:00
Pierre Joye
f52166739d - fix and update test according to recent fixes 2010-01-27 09:47:17 +00:00
Stanislav Malyshev
327cf380e8 win32 should have different test 2009-12-08 01:52:57 +00:00
Stanislav Malyshev
7beb1af8de add realpath cache inspect functions 2009-12-08 01:35:08 +00:00
Jani Taskinen
91cc127ce4 - Fix bad section names (extra - in the end..) 2009-11-09 17:08:48 +00:00
Johannes Schlüter
f5a5d321ed Fix test to remove temporary files 2009-10-19 21:50:08 +00:00
Jani Taskinen
0f1b93a1ca - Fix skips 2009-09-10 15:05:34 +00:00
Pierre Joye
eb3801f5b0 - add test for #48746 2009-09-05 18:10:31 +00:00
Zoe Slattery
4cc35aeaaf The last of the 2009 testfest tests 2009-08-30 18:18:50 +00:00
Zoe Slattery
6a22ec3eda More tests from 2009 testfest 2009-08-30 09:30:13 +00:00
Zoe Slattery
1c98e49afd Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Pierre Joye
c7167ced0b - fix test and use __DIR__ as usual 2009-08-26 16:07:05 +00:00
Pierre Joye
b4b9615c0b - add win32 version 2009-08-26 14:09:45 +00:00
Pierre Joye
9fe6294cdf - fix test 2009-08-26 09:59:20 +00:00
Pierre Joye
056f0aea30 - fix #49047, touch may fail on directory 2009-08-25 09:16:53 +00:00
Pierre Joye
4c85f48c89 - fix test when part of the path is a symlink 2009-08-25 00:22:11 +00:00
Pierre Joye
3db4fe36a4 - fix test 2009-08-25 00:14:23 +00:00
Pierre Joye
39ba13c3ad - fix test 2009-08-24 19:19:43 +00:00
Pierre Joye
64918d5168 - fix test 2009-08-24 18:44:59 +00:00
Pierre Joye
30c4b8ff29 - fix test 2009-08-24 18:43:21 +00:00
Rasmus Lerdorf
4a607c147d Tweak a few tests that failed on OSX 2009-08-10 06:53:49 +00:00
Zoe Slattery
d09ab2ab42 Removing unnecessary SKIPIF sections 2009-07-18 13:46:08 +00:00
Alexey Zakhlestin
d3e8085c28 removing test. this one tests system-specific behavior, not something implemented in php 2009-07-17 17:17:57 +00:00
Zoe Slattery
4e0b75042a fix tests 2009-07-17 09:28:19 +00:00
Alexey Zakhlestin
3e326b91e7 fix tests corrupted by svn's eol-style=native 2009-07-15 13:44:14 +00:00
Pierre Joye
ddb869d674 - skip on windows 2009-07-08 10:42:06 +00:00
Pierre Joye
e98be67b11 - windows version 2009-07-08 10:41:50 +00:00
Pierre Joye
528ede93df - windows version 2009-07-08 10:14:49 +00:00
Pierre Joye
d8b465caae - skip on win, different error msg 2009-07-08 10:13:27 +00:00