com php-src: Bug #63147: introduce SKIP_ONLINE_TESTS, f or gethostbyname: ext/standard/tests/network/gethostbynam e_basic001.phpt
ext/standard/tests/network/gethostb yname_error004.phpt
| From: | Stanislav Malyshev | Date: | Mon, 01 Oct 2012 02:40:43 +0000 |
| Subject: | com php-src: Bug #63147: introduce SKIP_ONLINE_TESTS, f or gethostbyname: ext/standard/tests/network/gethostbynam e_basic001.phpt ext/standard/tests/network/gethostb yname_error004.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-70283@lists.php.net to get a copy of this message | ||
Commit: 71c61921f3e6e90737b837e82e47297ce94e3d74
Author: Remi Collet <fedora@famillecollet.com> Mon, 24 Sep 2012 09:15:03 +0200
Committer: Stanislav Malyshev <stas@php.net> Sun, 30 Sep 2012 19:40:43 -0700
Parents: 189b99aee14db3097d9205d44688b7a62bee259d
Branches: PHP-5..4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=71c61921f3e6e90737b837e82e47297ce94e3d74
Log:
Bug #63147: introduce SKIP_ONLINE_TESTS, for gethostbyname
Bugs:
https://bugs.php.net/63147
Changed paths:
M ext/standard/tests/network/gethostbyname_basic001.phpt
M ext/standard/tests/network/gethostbyname_error004.phpt
Diff:
diff --git a/ext/standard/tests/network/gethostbyname_basic001.phpt
b/ext/standard/tests/network/gethostbyname_basic001.phpt
index e917b59..9171e22 100644
--- a/ext/standard/tests/network/gethostbyname_basic001.phpt
+++ b/ext/standard/tests/network/gethostbyname_basic001.phpt
@@ -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
diff --git a/ext/standard/tests/network/gethostbyname_error004.phpt
b/ext/standard/tests/network/gethostbyname_error004.phpt
index 7aac172..274301a 100644
--- a/ext/standard/tests/network/gethostbyname_error004.phpt
+++ b/ext/standard/tests/network/gethostbyname_error004.phpt
@@ -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