]> granicus.if.org Git - php/commitdiff
Fix SKIPIF conditions for online tests
authorGabriel Caruso <carusogabriel34@gmail.com>
Sun, 5 Aug 2018 21:24:08 +0000 (18:24 -0300)
committerGabriel Caruso <carusogabriel34@gmail.com>
Sun, 5 Aug 2018 21:28:28 +0000 (18:28 -0300)
Add when necessary, as well remove when not

ext/curl/tests/bug68937.phpt
ext/curl/tests/bug68937_2.phpt
ext/curl/tests/bug71523.phpt
ext/curl/tests/bug72202.phpt
ext/curl/tests/curl_multi_info_read.phpt
ext/soap/tests/bugs/bug44811.phpt
ext/sockets/tests/mcast_ipv4_recv.phpt
ext/standard/tests/file/file_get_contents_error001.phpt
ext/standard/tests/network/gethostbyname_basic001.phpt

index ff8a906eba42cd01a30f644aef6f2ae3f6c024e1..013dd340d5f37082c0b8df831100522b111b8039 100644 (file)
@@ -2,7 +2,6 @@
 Bug # #68937 (Segfault in curl_multi_exec)
 --SKIPIF--
 <?php 
-if (getenv("SKIP_ONLINE_TESTS")) die("skip online test");
 include 'skipif.inc';
 ?>
 --FILE--
index c25da3fd715870be7a9a0e868bef69da2d886c20..33af654ec3e6f36b6562f35cc666e4292019ec81 100644 (file)
@@ -2,7 +2,6 @@
 Bug # #68937 (Segfault in curl_multi_exec)
 --SKIPIF--
 <?php 
-if (getenv("SKIP_ONLINE_TESTS")) die("skip online test");
 include 'skipif.inc';
 ?>
 --FILE--
index 84f1a17159598191fe96e81890ff6c8368862835..c7889eaca08965c6ef1d9989dd28e425e0e9286d 100644 (file)
@@ -5,9 +5,6 @@ Bug #71523 (Copied handle with new option CURLOPT_HTTPHEADER crashes while curl_
 if (!extension_loaded("curl")) {
        exit("skip curl extension not loaded");
 }
-if (getenv("SKIP_ONLINE_TESTS")) {
-       die("skip online test");
-}
 ?>
 --FILE--
 <?php
index 63138d9ba6b6f8af516895a6daf22cf3ce530074..01564c0a585fdd06c27b03c8eb2b43b832dd0d6c 100644 (file)
@@ -5,9 +5,6 @@ Bug #72202 (curl_close doesn't close cURL handle)
 if (!extension_loaded("curl")) {
        exit("skip curl extension not loaded");
 }
-if (getenv("SKIP_ONLINE_TESTS")) {
-       die("skip online test");
-}
 ?>
 --FILE--
 <?php
index ef83822b4a212035856ad2ea0d22f7bd4b2bf248..8a2d48918e5528dcb04995c09ead9543a8af6c4e 100644 (file)
@@ -4,7 +4,6 @@ array curl_multi_info_read ( resource $mh [, int &$msgs_in_queue = NULL ] );
 marcosptf - <marcosptf@yahoo.com.br> - @phpsp - sao paulo - br
 --SKIPIF--
 <?php
-if (getenv("SKIP_ONLINE_TESTS")) { die('skip: online test'); }
 if (!extension_loaded('curl')) { print("skip"); }
 ?>
 --FILE--
index 1c7605f6104915a110b1721eab9385d82fad5e26..8cfc4a76cddc63646d8138c52294923040f7245f 100644 (file)
@@ -2,7 +2,6 @@
 Bug #44811 (Improve error messages when creating new SoapClient which contains invalid data)
 --SKIPIF--
 <?php require_once 'skipif.inc'; ?>
-<?php if (getenv("SKIP_ONLINE_TESTS")) die("skip online test"); ?>
 --INI--
 soap.wsdl_cache_enabled=0
 --FILE--
index fc92563e84f9ae54310db1c5b51ac91bfa4143b3..f56b21a2fab15e8ed8641c5e5c995623718a89f2 100644 (file)
@@ -5,6 +5,7 @@ Multicast support: IPv4 receive options
 if (!extension_loaded('sockets')) {
     die('skip sockets extension not available.');
 }
+if (getenv('SKIP_ONLINE_TESTS')) die('skip online test');
 $s = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
 $br = socket_bind($s, '0.0.0.0', 3000);
 $so = socket_set_option($s, IPPROTO_IP, MCAST_JOIN_GROUP, array(
index 1437b8a8a061dec020c6023b7431bf98a7b79b1a..d86b37d51332cf004565636401b7c5913122d53d 100644 (file)
@@ -8,7 +8,6 @@ display_errors=false
 --SKIPIF--
 <?php
        if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
-       if (getenv("SKIP_ONLINE_TESTS")) die("skip online test");
 ?>
 --FILE--
 <?php
index 9171e226aa30909e651c34f0c8ba65505a35f3cf..e917b599207d30524959573d9cd54aeb4c48e564 100644 (file)
@@ -5,7 +5,6 @@ gethostbyname() function - basic type return test
 --SKIPIF--
 <?php
 if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
-if (getenv("SKIP_ONLINE_TESTS")) die("skip test requiring internet connection");
 ?>
 --FILE--
 <?php