]> granicus.if.org Git - php/commitdiff
Online test
authorXinchen Hui <laruence@gmail.com>
Fri, 5 Feb 2016 11:56:23 +0000 (19:56 +0800)
committerXinchen Hui <laruence@gmail.com>
Fri, 5 Feb 2016 11:56:23 +0000 (19:56 +0800)
ext/curl/tests/bug71523.phpt

index 06647de12de0eea712d8c571060aa10c87e0a7b3..24aa83c6206948b7f17e44263a0fdc1c9945a9b2 100644 (file)
@@ -3,7 +3,10 @@ Bug #71523 (Copied handle with new option CURLOPT_HTTPHEADER crashes while curl_
 --SKIPIF--
 <?php
 if (!extension_loaded("curl")) {
-        exit("skip curl extension not loaded");
+       exit("skip curl extension not loaded");
+}
+if (getenv("SKIP_ONLINE_TESTS")) {
+       die("skip online test");
 }
 ?>
 --FILE--