cvs: php-src(PHP_5_3) /ext/curl/tests curl_basic_007.phpt
| From: | Zoe Slattery | Date: | Fri, 29 May 2009 09:46:11 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/curl/tests curl_basic_007.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-58383@lists.php.net to get a copy of this message | ||
zoe Fri May 29 09:46:11 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/curl/tests curl_basic_007.phpt
Log:
fixing to work with older levels of libcurl
http://cvs.php.net/viewvc.cgi/php-src/ext/curl/tests/curl_basic_007.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/curl/tests/curl_basic_007.phpt
diff -u php-src/ext/curl/tests/curl_basic_007.phpt:1.1.2.2
php-src/ext/curl/tests/curl_basic_007.phpt:1.1.2.3
--- php-src/ext/curl/tests/curl_basic_007.phpt:1.1.2.2 Sat May 16 16:37:31 2009
+++ php-src/ext/curl/tests/curl_basic_007.phpt Fri May 29 09:46:11 2009
@@ -7,6 +7,9 @@
--FILE--
<?php
+//In January 2008 , level 7.18.0 of the curl lib, many of the messages changed.
+//The final crlf was removed. This test is coded to work with or without the crlf.
+
$ch = curl_init();
curl_exec($ch);
@@ -17,5 +20,5 @@
?>
--EXPECTF--
-%string|unicode%(11) "No URL set!"
+%string|unicode%(%d) "No URL set!%r(|[\r\n]+)%r"
int(3)