Commit: 71c61921f3e6e90737b837e82e47297ce94e3d74 Author: Remi Collet <fed...@famillecollet.com> Mon, 24 Sep 2012 09:15:03 +0200 Committer: Stanislav Malyshev <s...@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 -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php