]> granicus.if.org Git - php/commitdiff
Sync tests between branches and fix the getcontent test
authorHannes Magnusson <bjori@php.net>
Wed, 7 Sep 2011 10:38:53 +0000 (10:38 +0000)
committerHannes Magnusson <bjori@php.net>
Wed, 7 Sep 2011 10:38:53 +0000 (10:38 +0000)
ext/curl/tests/curl_basic_011.phpt
ext/curl/tests/curl_basic_012.phpt
ext/curl/tests/curl_basic_013.phpt
ext/curl/tests/curl_multi_getcontent_basic3.phpt

index 16e460e2203d5c09f3c78b98d429578cc5841490..10c90b123a96faf1353d4ce2143af7b76a4c0e25 100644 (file)
@@ -35,4 +35,4 @@ TestFest 2009 - AFUP - Xavier Gorse <xgorse@elao.com>
 *** Testing curl with cookie ***
 string(3) "bar"
 ===DONE===
-                     
+
index 2cfa7b38ed4be1ff4a4053184c185e066db11e94..e4706fad46122a8e96eb8bab9d46be84ada11166 100644 (file)
@@ -3,7 +3,7 @@ Test curl_opt() function with CURLOPT_HTTP_VERSION/CURL_HTTP_VERSION_1_0
 --CREDITS--
 TestFest 2009 - AFUP - Xavier Gorse <xgorse@elao.com>   
 --SKIPIF--
-<?php if (!extension_loaded("curl") || false === getenv('PHP_CURL_HTTP_REMOTE_SERVER')) print "skip"; ?>
+<?php if (!extension_loaded("curl") || false === getenv(b'PHP_CURL_HTTP_REMOTE_SERVER')) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : bool curl_setopt(resource ch, int option, mixed value)
@@ -35,3 +35,4 @@ TestFest 2009 - AFUP - Xavier Gorse <xgorse@elao.com>
 *** Testing curl with HTTP/1.0 ***
 string(8) "HTTP/1.0"
 ===DONE===
+                     
\ No newline at end of file
index bc396e11e79e4519bb6c0abe83b74525a315db67..c49d187be31178ffe7388a3edb6a3e04cc41b538 100644 (file)
@@ -3,7 +3,7 @@ Test curl_opt() function with CURLOPT_HTTP_VERSION/CURL_HTTP_VERSION_1_1
 --CREDITS--
 TestFest 2009 - AFUP - Xavier Gorse <xgorse@elao.com>      
 --SKIPIF--
-<?php if (!extension_loaded("curl") || false === getenv('PHP_CURL_HTTP_REMOTE_SERVER')) print "skip"; ?>
+<?php if (!extension_loaded("curl") || false === getenv(b'PHP_CURL_HTTP_REMOTE_SERVER')) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : bool curl_setopt(resource ch, int option, mixed value)
@@ -35,3 +35,4 @@ TestFest 2009 - AFUP - Xavier Gorse <xgorse@elao.com>
 *** Testing curl with HTTP/1.1 ***
 string(8) "HTTP/1.1"
 ===DONE===
+                     
\ No newline at end of file
index bf17ab6b606c03f391f9a49f23946c8061a6d4f4..0e448cd2e9d7faad2829af14583ed91f37966f87 100644 (file)
@@ -5,7 +5,7 @@ Rein Velt (rein@velt.org)
 #TestFest Utrecht 20090509
 --SKIPIF--
 <?php
-if (!extension_loaded('curl')) print 'skip';
+if (!extension_loaded('curl')) print 'skip need ext/curl';
 ?>
 --FILE--
 <?php
@@ -51,6 +51,7 @@ User-agent: *
 Disallow: /backend/
 Disallow: /distributions/
 Disallow: /stats/
+Disallow: /server-status/
 Disallow: /source.php
 Disallow: /search.php
 Disallow: /mod.php