]> granicus.if.org Git - php/commitdiff
fixing to work with older levels of libcurl
authorZoe Slattery <zoe@php.net>
Fri, 29 May 2009 09:45:42 +0000 (09:45 +0000)
committerZoe Slattery <zoe@php.net>
Fri, 29 May 2009 09:45:42 +0000 (09:45 +0000)
ext/curl/tests/curl_basic_007.phpt

index 593cf6aa847bc184d2d6cbf3e0a9da2fe8b7c1eb..d7d8e0cf7f438ddb0a1a11ba32162964583d7251 100755 (executable)
@@ -7,6 +7,9 @@ TestFest 2009 - AFUP - Perrick Penet <perrick@noparking.net>
 --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 @@ curl_close($ch);
 
 ?>
 --EXPECTF--
-%string|unicode%(11) "No URL set!"
+%string|unicode%(%d) "No URL set!%r(|[\r\n]+)%r"
 int(3)