Bug #63147: introduce SKIP_ONLINE_TESTS, for gethostbyname
authorRemi Collet <fedora@famillecollet.com>
Mon, 24 Sep 2012 07:15:03 +0000 (09:15 +0200)
committerStanislav Malyshev <stas@php.net>
Mon, 1 Oct 2012 02:40:43 +0000 (19:40 -0700)
ext/standard/tests/network/gethostbyname_basic001.phpt
ext/standard/tests/network/gethostbyname_error004.phpt

index e917b599207d30524959573d9cd54aeb4c48e564..9171e226aa30909e651c34f0c8ba65505a35f3cf 100644 (file)
@@ -5,6 +5,7 @@ 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
index 7aac1729207121cfb15e6f3bc41326f278a71dac..274301a2368b5689b377cb142a9f7928b802bb9d 100644 (file)
@@ -5,6 +5,7 @@ gethostbyname() function - basic return valid ip address 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