1
0
mirror of https://github.com/php/php-src.git synced 2026-04-20 06:21:12 +02:00
Commit Graph

57 Commits

Author SHA1 Message Date
Rasmus Lerdorf
657b661d40 Add a test and declare the local vars locally 2011-09-23 15:19:48 +00:00
Hannes Magnusson
8db792d1f2 Fixed issues when streams were closed before curl read/write from them, or cleaning
Closing a original handle after copying it now no longer cleans up all resources (fixes missing CURLOPT_POSTFIELDS values among others)
2011-09-12 09:16:04 +00:00
Hannes Magnusson
987c394143 Being smart and cleanup/rename/modify tests seconds before committing isn't very smart. 2011-09-09 08:28:57 +00:00
Hannes Magnusson
31d09c9c4c Fixed bug#54798 Segfault when CURLOPT_STDERR file pointer is closed before calling curl_exec 2011-09-08 14:37:18 +00:00
Ilia Alshanetsky
12e983e714 Fixed tests (skip when catch-all DNS such as openDNS is being used) 2011-09-07 15:31:48 +00:00
Hannes Magnusson
b6e2e54b70 Sync tests between branches and fix the getcontent test 2011-09-07 10:38:53 +00:00
Hannes Magnusson
3f85bc95f7 Update skipif message 2011-09-07 10:34:58 +00:00
Matteo Beccati
dff6510fc5 Fixed test randomly failing due to different error messages. Also added a skip
section in case "fakeURL" resolves to an IP address, as some empty error
messages and HTML can be seen in the reports
2011-09-01 00:45:56 +00:00
Matteo Beccati
a3a5b2197c Fixed false positive failure on gcov 2011-08-31 22:12:53 +00:00
Shein Alexey
0214bbed25 Updated (currently failing) test for bug48203 with curl_stderr and added also curl_multi_exec variant of this test. 2011-06-09 07:16:13 +00:00
Shein Alexey
42478b46e9 Removed 'b' string prefix as unneeded from some tests. 2011-06-09 06:49:31 +00:00
Shein Alexey
a2566cb684 Fixed notice breaking the test. 2011-05-31 12:57:40 +00:00
Shein Alexey
a44a8af3a0 Removed test since there's no more safe_mode in PHP >= 5.4. 2011-05-31 12:45:00 +00:00
Eyal Teutsch
fa404f71f5 curl_setopt() arg: using DIRECTORY_SEPARATOR rather then "/" to make windows tests pass too 2010-12-08 14:16:17 +00:00
Ilia Alshanetsky
94ca4a4d09 Fixed bug #52202 (CURLOPT_PRIVATE gets corrupted). 2010-11-30 13:40:02 +00:00
Adam Harvey
56ea98734c Fix bug #52827 (cURL leaks handle and causes assertion error (CURLOPT_STDERR)).
Patch by Gustavo.
2010-09-14 10:58:59 +00:00
Kalle Sommer Nielsen
a448b6a72b MFB53: Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED (Fixes #52570)
# Some of the updated tests were to make them sync with 5.3 although they don't run on trunk anymore
2010-08-11 21:41:30 +00:00
Felipe Pena
cd2f66cd61 - Fix test 2010-08-06 23:01:32 +00:00
Felipe Pena
06c185214a - Fixed bug #52533 (ext/curl/tests/curl_multi_getcontent_basic3.phpt broken due php.net/robots.txt)
patch by: glen at delfi dot ee
2010-08-06 22:57:41 +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
Pierre Joye
f66e02b8fc - Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading 2010-04-22 11:49:10 +00:00
Sriram Natarajan
0ea435c6e0 - Fixed bug #50756 (CURLOPT_FTP_SKIP_PASV_IP does not exist.) 2010-01-23 01:37:32 +00:00
Rasmus Lerdorf
c79d16d40b Pierre added certinfo to the curl info array, but that is
only available in newer versions of curl and this test
doesn't test for it.
2009-11-23 14:43:52 +00:00
Ilia Alshanetsky
5edef9d2dd Fixed test 2009-09-28 03:14:46 +00:00
Felipe Pena
22876972a5 - Fix test 2009-09-25 02:07:41 +00:00
Dmitry Stogov
7bfe056174 Fixed tests 2009-09-21 09:52:19 +00:00
Zoe Slattery
1c98e49afd Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Ilia Alshanetsky
92cb2b634f Make test more generic 2009-08-06 12:23:35 +00:00
Rasmus Lerdorf
a37d7529ba The test for bug #46739 doesn't actually need the remote
responder, so get rid of the skipif in PHP 5, and it was
broken in PHP 6 because the keys in the curl_info array 
were not unicode.  All internally-generated arrays should
have unicode keys.
2009-07-26 02:12:38 +00:00
Jani Taskinen
bc8155d737 - Fix tests to be more comptatible AND to test what they are supposed to test 2009-07-25 22:20:18 +00:00
Felipe Pena
badd102c83 - Opss, fix the fix... 2009-07-25 21:56:31 +00:00
Felipe Pena
7c30b3c2dc - Fix test 2009-07-25 21:52:33 +00:00
Rasmus Lerdorf
5471bd7f6a Fix dumb typo in the skipif 2009-07-25 21:37:04 +00:00
Jani Taskinen
5e22b47d05 - Fix bad environment usage 2009-07-25 14:52:52 +00:00
Jani Taskinen
1ca46f5ddd - Fix test when responder is something like lighttpd 2009-07-25 14:49:17 +00:00
Jani Taskinen
57d04afff0 - Fix test 2009-07-25 14:20:38 +00:00
Sriram Natarajan
27dccf7ac0 - Fixed bug #48774 (SIGSEGVs when using curl_copy_handle()). 2009-07-21 20:32:32 +00:00
andy wharmby
fbea458808 New cURL tests. Tested on Windows, Linux and Linux 64 bit 2009-07-17 20:46:30 +00:00
andy wharmby
f3d407964e Fix cURL tests 2009-07-17 20:44:50 +00:00
Felipe Pena
c803fbe66c - Fix test 2009-07-17 14:04:06 +00:00
Felipe Pena
8715a7f12e - New tests (DutchUG testfest) 2009-07-03 00:09:08 +00:00
Felipe Pena
f9b9765ed0 - MFH: Fixed bug #48514 (cURL extension uses same resource name for simple and multi APIs) 2009-06-12 20:48:28 +00:00
andy wharmby
13dce00cdf Add/Fix SKIPIF sections of cURL tests 2009-06-11 21:11:20 +00:00
Zoe Slattery
9dc6f2a873 Fixes to work on Windows as well as Linux 2009-06-01 09:01:06 +00:00
Zoe Slattery
4085d06822 better fix 2009-05-29 11:46:42 +00:00
Zoe Slattery
c3bcd7d365 fixing to work with older levels of libcurl 2009-05-29 09:46:11 +00:00
Jani Taskinen
1296356489 - Test for bug #48203 2009-05-26 17:19:23 +00:00
Jani Taskinen
9672e18acd Nuke duplicate tests 2009-05-26 10:27:08 +00:00
Jani Taskinen
ff18679418 MFH:- Fix test: since cURL 7.19.4 CURLINFO_CONTENT_LENGTH_* return -1 if the size is unknown 2009-05-19 14:05:39 +00:00
Felipe Pena
2fa28208a6 - Added changes from testfest ParisUG && Changed line endings 2009-05-16 17:02:24 +00:00