diff options
Diffstat (limited to 'ext/curl/tests')
39 files changed, 39 insertions, 39 deletions
diff --git a/ext/curl/tests/bug52827.phpt b/ext/curl/tests/bug52827.phpt index 85a73fa797..f0faad68f5 100644 --- a/ext/curl/tests/bug52827.phpt +++ b/ext/curl/tests/bug52827.phpt @@ -28,5 +28,5 @@ $handle=curl_init('http://www.example.com'); curl_setopt($handle, CURLOPT_STDERR, $s); echo "Done."; ---EXPECTF-- +--EXPECT-- Done. diff --git a/ext/curl/tests/bug54995.phpt b/ext/curl/tests/bug54995.phpt index 4af59948be..e113d130a1 100644 --- a/ext/curl/tests/bug54995.phpt +++ b/ext/curl/tests/bug54995.phpt @@ -22,5 +22,5 @@ curl_exec($ch); curl_close($ch); ?> ---EXPECTF-- +--EXPECT-- bool(true) diff --git a/ext/curl/tests/bug55767.phpt b/ext/curl/tests/bug55767.phpt index bbeecb6b87..8690597ae8 100644 --- a/ext/curl/tests/bug55767.phpt +++ b/ext/curl/tests/bug55767.phpt @@ -33,7 +33,7 @@ include 'skipif.inc'; var_dump( $curl_content ); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing curl sending through GET an POST *** string(203) "array(2) { ["test"]=> diff --git a/ext/curl/tests/bug62839.phpt b/ext/curl/tests/bug62839.phpt index e6988d6de1..be8646ea99 100644 --- a/ext/curl/tests/bug62839.phpt +++ b/ext/curl/tests/bug62839.phpt @@ -14,5 +14,5 @@ curl_copy_handle($curl); echo 'DONE!'; ?> ---EXPECTF-- +--EXPECT-- DONE! diff --git a/ext/curl/tests/bug66109.phpt b/ext/curl/tests/bug66109.phpt index 5a18e97294..c40d1e9667 100644 --- a/ext/curl/tests/bug66109.phpt +++ b/ext/curl/tests/bug66109.phpt @@ -19,6 +19,6 @@ var_dump(curl_exec($ch)); curl_close($ch); ?> ---EXPECTF-- +--EXPECT-- string(6) "DELETE" string(3) "GET" diff --git a/ext/curl/tests/bug68937.phpt b/ext/curl/tests/bug68937.phpt index 0f346cf3fa..ff8a906eba 100644 --- a/ext/curl/tests/bug68937.phpt +++ b/ext/curl/tests/bug68937.phpt @@ -36,5 +36,5 @@ function curl_read($ch, $fp, $len) { curl_exec($ch); curl_close($ch); ?> ---EXPECTF-- +--EXPECT-- NULL diff --git a/ext/curl/tests/bug71523.phpt b/ext/curl/tests/bug71523.phpt index 24aa83c620..84f1a17159 100644 --- a/ext/curl/tests/bug71523.phpt +++ b/ext/curl/tests/bug71523.phpt @@ -27,5 +27,5 @@ do { } while ($active); ?> okey ---EXPECTF-- +--EXPECT-- okey diff --git a/ext/curl/tests/curl_basic_001.phpt b/ext/curl/tests/curl_basic_001.phpt index 4921b69bdd..3feea49905 100644 --- a/ext/curl/tests/curl_basic_001.phpt +++ b/ext/curl/tests/curl_basic_001.phpt @@ -35,7 +35,7 @@ TestFest 2009 - AFUP - Jean-Marc Fontaine <jmf@durcommefaire.net> } ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing curl_exec() : basic functionality *** string(25) "Hello World! Hello World!" diff --git a/ext/curl/tests/curl_basic_002.phpt b/ext/curl/tests/curl_basic_002.phpt index 69aef4b825..186fa66dfa 100644 --- a/ext/curl/tests/curl_basic_002.phpt +++ b/ext/curl/tests/curl_basic_002.phpt @@ -32,7 +32,7 @@ TestFest 2009 - AFUP - Jean-Marc Fontaine <jmf@durcommefaire.net> var_dump( $curl_content ); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); *** string(25) "Hello World! Hello World!" diff --git a/ext/curl/tests/curl_basic_003.phpt b/ext/curl/tests/curl_basic_003.phpt index 9c5967db8f..07cbad4b7a 100644 --- a/ext/curl/tests/curl_basic_003.phpt +++ b/ext/curl/tests/curl_basic_003.phpt @@ -34,7 +34,7 @@ TestFest 2009 - AFUP - Jean-Marc Fontaine <jmf@durcommefaire.net> var_dump( $curl_content ); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing curl sending through GET an POST *** string(208) "array(2) { ["test"]=> diff --git a/ext/curl/tests/curl_basic_004.phpt b/ext/curl/tests/curl_basic_004.phpt index 08dc7a1005..b520db6c70 100644 --- a/ext/curl/tests/curl_basic_004.phpt +++ b/ext/curl/tests/curl_basic_004.phpt @@ -33,7 +33,7 @@ TestFest 2009 - AFUP - Jean-Marc Fontaine <jmf@durcommefaire.net> var_dump( $curl_content ); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing curl setting referer *** string(19) "http://www.refer.er" ===DONE=== diff --git a/ext/curl/tests/curl_basic_005.phpt b/ext/curl/tests/curl_basic_005.phpt index 200db765dc..4d90ebfd37 100644 --- a/ext/curl/tests/curl_basic_005.phpt +++ b/ext/curl/tests/curl_basic_005.phpt @@ -33,7 +33,7 @@ TestFest 2009 - AFUP - Jean-Marc Fontaine <jmf@durcommefaire.net> var_dump( $curl_content ); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing curl with user agent *** string(9) "cURL phpt" ===DONE=== diff --git a/ext/curl/tests/curl_basic_006.phpt b/ext/curl/tests/curl_basic_006.phpt index e48a5ba70d..5d37297bb2 100644 --- a/ext/curl/tests/curl_basic_006.phpt +++ b/ext/curl/tests/curl_basic_006.phpt @@ -35,7 +35,7 @@ TestFest 2009 - AFUP - Jean-Marc Fontaine <jmf@durcommefaire.net> echo "Data: $alldata"; ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing curl_setopt($ch, CURLOPT_WRITEFUNCTION, <closure>); *** Data: Hello World! Hello World!===DONE=== diff --git a/ext/curl/tests/curl_basic_011.phpt b/ext/curl/tests/curl_basic_011.phpt index 4e33082409..22be2b8b16 100644 --- a/ext/curl/tests/curl_basic_011.phpt +++ b/ext/curl/tests/curl_basic_011.phpt @@ -32,7 +32,7 @@ TestFest 2009 - AFUP - Xavier Gorse <xgorse@elao.com> var_dump( $curl_content ); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing curl with cookie *** string(3) "bar" ===DONE=== diff --git a/ext/curl/tests/curl_basic_012.phpt b/ext/curl/tests/curl_basic_012.phpt index f136880dff..94afa73e26 100644 --- a/ext/curl/tests/curl_basic_012.phpt +++ b/ext/curl/tests/curl_basic_012.phpt @@ -32,7 +32,7 @@ TestFest 2009 - AFUP - Xavier Gorse <xgorse@elao.com> var_dump( $curl_content ); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing curl with HTTP/1.0 *** string(8) "HTTP/1.0" ===DONE=== diff --git a/ext/curl/tests/curl_basic_013.phpt b/ext/curl/tests/curl_basic_013.phpt index 6d09517e8d..4e9233c080 100644 --- a/ext/curl/tests/curl_basic_013.phpt +++ b/ext/curl/tests/curl_basic_013.phpt @@ -32,7 +32,7 @@ TestFest 2009 - AFUP - Xavier Gorse <xgorse@elao.com> var_dump( $curl_content ); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing curl with HTTP/1.1 *** string(8) "HTTP/1.1" ===DONE=== diff --git a/ext/curl/tests/curl_basic_015.phpt b/ext/curl/tests/curl_basic_015.phpt index e8e43e5686..00ad7c9b1d 100644 --- a/ext/curl/tests/curl_basic_015.phpt +++ b/ext/curl/tests/curl_basic_015.phpt @@ -11,6 +11,6 @@ Jean-Marc Fontaine <jmf@durcommefaire.net> var_dump($url == curl_getinfo($ch, CURLINFO_EFFECTIVE_URL)); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- bool(true) ===DONE=== diff --git a/ext/curl/tests/curl_basic_017.phpt b/ext/curl/tests/curl_basic_017.phpt index dc0bee926b..2dd06c778a 100644 --- a/ext/curl/tests/curl_basic_017.phpt +++ b/ext/curl/tests/curl_basic_017.phpt @@ -61,7 +61,7 @@ TestFest 2009 - AFUP - Thomas Rabaix <thomas.rabaix@gmail.com> } ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing curl_exec() : basic functionality *** string(75) "Hello World! Hello World!Hello World! diff --git a/ext/curl/tests/curl_basic_018.phpt b/ext/curl/tests/curl_basic_018.phpt index 5c085c1c93..46b80ed982 100644 --- a/ext/curl/tests/curl_basic_018.phpt +++ b/ext/curl/tests/curl_basic_018.phpt @@ -64,7 +64,7 @@ TestFest 2009 - AFUP - Thomas Rabaix <thomas.rabaix@gmail.com> ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing curl_exec() : basic functionality *** string(75) "Hello World! Hello World!Hello World! diff --git a/ext/curl/tests/curl_basic_019.phpt b/ext/curl/tests/curl_basic_019.phpt index 2c58500ef7..fde4dccb3d 100644 --- a/ext/curl/tests/curl_basic_019.phpt +++ b/ext/curl/tests/curl_basic_019.phpt @@ -19,7 +19,7 @@ Jean-Marc Fontaine <jmf@durcommefaire.net> curl_close($ch); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- Hello World! Hello World!bool(true) ===DONE=== diff --git a/ext/curl/tests/curl_basic_020.phpt b/ext/curl/tests/curl_basic_020.phpt index 1227ad3261..99ac93d192 100644 --- a/ext/curl/tests/curl_basic_020.phpt +++ b/ext/curl/tests/curl_basic_020.phpt @@ -17,7 +17,7 @@ Jean-Marc Fontaine <jmf@durcommefaire.net> curl_close($ch); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- Hello World! Hello World!int(200) ===DONE=== diff --git a/ext/curl/tests/curl_basic_021.phpt b/ext/curl/tests/curl_basic_021.phpt index e803d98837..46d21cd81b 100644 --- a/ext/curl/tests/curl_basic_021.phpt +++ b/ext/curl/tests/curl_basic_021.phpt @@ -17,6 +17,6 @@ Jean-Marc Fontaine <jmf@durcommefaire.net> curl_close($ch); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- string(24) "text/plain;charset=utf-8" ===DONE=== diff --git a/ext/curl/tests/curl_copy_handle_basic.phpt b/ext/curl/tests/curl_copy_handle_basic.phpt index 1a6ff41699..6aeb669abf 100644 --- a/ext/curl/tests/curl_copy_handle_basic.phpt +++ b/ext/curl/tests/curl_copy_handle_basic.phpt @@ -24,7 +24,7 @@ $ch2 = curl_copy_handle($ch); var_dump(curl_getinfo($ch) === curl_getinfo($ch2)); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing curl_copy_handle(): basic *** bool(true) ===DONE=== diff --git a/ext/curl/tests/curl_copy_handle_basic_001.phpt b/ext/curl/tests/curl_copy_handle_basic_001.phpt index aafa41ee2e..0f1cf9dfd7 100644 --- a/ext/curl/tests/curl_copy_handle_basic_001.phpt +++ b/ext/curl/tests/curl_copy_handle_basic_001.phpt @@ -29,7 +29,7 @@ Rick Buitenman <rick@meritos.nl> var_dump( $curl_content ); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing curl copy handle with simple GET *** string(106) "array(2) { ["test"]=> diff --git a/ext/curl/tests/curl_copy_handle_basic_002.phpt b/ext/curl/tests/curl_copy_handle_basic_002.phpt index 6e8214ad2b..6b2136bda2 100644 --- a/ext/curl/tests/curl_copy_handle_basic_002.phpt +++ b/ext/curl/tests/curl_copy_handle_basic_002.phpt @@ -30,7 +30,7 @@ Rick Buitenman <rick@meritos.nl> var_dump( $curl_content ); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing curl copy handle with simple POST *** string(163) "array(1) { ["test"]=> diff --git a/ext/curl/tests/curl_copy_handle_basic_004.phpt b/ext/curl/tests/curl_copy_handle_basic_004.phpt index c690180a55..cad1be9865 100644 --- a/ext/curl/tests/curl_copy_handle_basic_004.phpt +++ b/ext/curl/tests/curl_copy_handle_basic_004.phpt @@ -31,7 +31,7 @@ Rick Buitenman <rick@meritos.nl> var_dump( $curl_content_copy ); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Test curl_copy_handle() after exec() *** string(106) "array(2) { ["test"]=> diff --git a/ext/curl/tests/curl_copy_handle_basic_005.phpt b/ext/curl/tests/curl_copy_handle_basic_005.phpt index e92603324e..939ee7381b 100644 --- a/ext/curl/tests/curl_copy_handle_basic_005.phpt +++ b/ext/curl/tests/curl_copy_handle_basic_005.phpt @@ -33,7 +33,7 @@ Rick Buitenman <rick@meritos.nl> var_dump( $curl_content_copy ); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Test curl_copy_handle() after exec() with POST *** string(163) "array(1) { ["test"]=> diff --git a/ext/curl/tests/curl_copy_handle_basic_006.phpt b/ext/curl/tests/curl_copy_handle_basic_006.phpt index 0a5c2a25e6..e33857d57e 100644 --- a/ext/curl/tests/curl_copy_handle_basic_006.phpt +++ b/ext/curl/tests/curl_copy_handle_basic_006.phpt @@ -31,7 +31,7 @@ Rick Buitenman <rick@meritos.nl> ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing curl copy handle with User Agent *** string(9) "cURL phpt" string(9) "cURL phpt" diff --git a/ext/curl/tests/curl_copy_handle_basic_007.phpt b/ext/curl/tests/curl_copy_handle_basic_007.phpt index 6334d2a4b8..23813d32c2 100644 --- a/ext/curl/tests/curl_copy_handle_basic_007.phpt +++ b/ext/curl/tests/curl_copy_handle_basic_007.phpt @@ -28,7 +28,7 @@ Test curl_copy_handle() with simple POST var_dump( $curl_content ); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing curl copy handle with simple POST using array as arguments *** string(163) "array(1) { ["test"]=> diff --git a/ext/curl/tests/curl_copy_handle_basic_008.phpt b/ext/curl/tests/curl_copy_handle_basic_008.phpt index cdb7de374d..c48c76db22 100644 --- a/ext/curl/tests/curl_copy_handle_basic_008.phpt +++ b/ext/curl/tests/curl_copy_handle_basic_008.phpt @@ -19,7 +19,7 @@ Test curl_copy_handle() with CURLOPT_PROGRESSFUNCTION echo curl_exec($ch2); ?> ---EXPECTF-- +--EXPECT-- Hello World! Hello World! Hello World! diff --git a/ext/curl/tests/curl_copy_handle_variation1.phpt b/ext/curl/tests/curl_copy_handle_variation1.phpt index da4522192d..8978e2650e 100644 --- a/ext/curl/tests/curl_copy_handle_variation1.phpt +++ b/ext/curl/tests/curl_copy_handle_variation1.phpt @@ -26,7 +26,7 @@ curl_setopt($ch2, CURLOPT_URL, 'http://www.bar.com/'); var_dump(curl_getinfo($ch) === curl_getinfo($ch2)); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing curl_copy_handle(): basic *** bool(false) ===DONE=== diff --git a/ext/curl/tests/curl_copy_handle_variation2.phpt b/ext/curl/tests/curl_copy_handle_variation2.phpt index 01e6af9e8c..36b5febf50 100644 --- a/ext/curl/tests/curl_copy_handle_variation2.phpt +++ b/ext/curl/tests/curl_copy_handle_variation2.phpt @@ -35,7 +35,7 @@ curl_setopt($ch2, CURLOPT_URL, 'http://www.bar.com/'); var_dump(curl_getinfo($ch) === curl_getinfo($ch2)); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing curl_copy_handle(): add options after copy *** bool(true) bool(false) diff --git a/ext/curl/tests/curl_ftp_pasv.phpt b/ext/curl/tests/curl_ftp_pasv.phpt index 31d670ae0d..f63a710ae9 100644 --- a/ext/curl/tests/curl_ftp_pasv.phpt +++ b/ext/curl/tests/curl_ftp_pasv.phpt @@ -53,6 +53,6 @@ if (false === getenv('PHP_CURL_FTP_REMOTE_PASSWD')) exit("skip PHP_CURL_FTP_REM ?> ===DONE=== ---EXPECTF-- +--EXPECT-- bool(true) ===DONE=== diff --git a/ext/curl/tests/curl_multi_errno_strerror_001.phpt b/ext/curl/tests/curl_multi_errno_strerror_001.phpt index 1fcdfe9558..9842aeda33 100644 --- a/ext/curl/tests/curl_multi_errno_strerror_001.phpt +++ b/ext/curl/tests/curl_multi_errno_strerror_001.phpt @@ -23,7 +23,7 @@ $errno = curl_multi_errno($mh); echo $errno . PHP_EOL; echo curl_multi_strerror($errno) . PHP_EOL; ?> ---EXPECTF-- +--EXPECT-- 0 No error 6 diff --git a/ext/curl/tests/curl_multi_getcontent_basic3.phpt b/ext/curl/tests/curl_multi_getcontent_basic3.phpt index 190fe9d9c0..9c0f7ddeba 100644 --- a/ext/curl/tests/curl_multi_getcontent_basic3.phpt +++ b/ext/curl/tests/curl_multi_getcontent_basic3.phpt @@ -46,7 +46,7 @@ Rein Velt (rein@velt.org) echo $results2; ?> ---EXPECTF-- +--EXPECT-- array(2) { ["test"]=> string(7) "getpost" diff --git a/ext/curl/tests/curl_multi_segfault.phpt b/ext/curl/tests/curl_multi_segfault.phpt index fffe9f1fbb..8af4dde635 100644 --- a/ext/curl/tests/curl_multi_segfault.phpt +++ b/ext/curl/tests/curl_multi_segfault.phpt @@ -50,6 +50,6 @@ if (false === getenv('PHP_CURL_FTP_REMOTE_PASSWD')) exit("skip PHP_CURL_FTP_REM curl_multi_close($cmh); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- bool(true) ===DONE=== diff --git a/ext/curl/tests/curl_multi_strerror_001.phpt b/ext/curl/tests/curl_multi_strerror_001.phpt index ac330acaee..becaebd6cc 100644 --- a/ext/curl/tests/curl_multi_strerror_001.phpt +++ b/ext/curl/tests/curl_multi_strerror_001.phpt @@ -17,6 +17,6 @@ var_dump(strtolower(curl_multi_strerror(CURLM_OK))); var_dump(strtolower(curl_multi_strerror(CURLM_BAD_HANDLE))); ?> ---EXPECTF-- +--EXPECT-- string(8) "no error" string(20) "invalid multi handle" diff --git a/ext/curl/tests/curl_share_errno_strerror_001.phpt b/ext/curl/tests/curl_share_errno_strerror_001.phpt index 91476cdaff..1db23c7b92 100644 --- a/ext/curl/tests/curl_share_errno_strerror_001.phpt +++ b/ext/curl/tests/curl_share_errno_strerror_001.phpt @@ -23,7 +23,7 @@ $errno = curl_share_errno($sh); echo $errno . PHP_EOL; echo curl_share_strerror($errno) . PHP_EOL; ?> ---EXPECTF-- +--EXPECT-- 0 No error 1 diff --git a/ext/curl/tests/curl_strerror_001.phpt b/ext/curl/tests/curl_strerror_001.phpt index f8a0de311b..f103f43966 100644 --- a/ext/curl/tests/curl_strerror_001.phpt +++ b/ext/curl/tests/curl_strerror_001.phpt @@ -18,7 +18,7 @@ var_dump(strtolower(curl_strerror(CURLE_UNSUPPORTED_PROTOCOL))); var_dump(strtolower(curl_strerror(-1))); ?> ---EXPECTF-- +--EXPECT-- string(8) "no error" string(20) "unsupported protocol" string(13) "unknown error" |