Skip to content

Commit 71c6192

Browse files
remicolletsmalyshev
authored andcommitted
Bug #63147: introduce SKIP_ONLINE_TESTS, for gethostbyname
1 parent 189b99a commit 71c6192

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ext/standard/tests/network/gethostbyname_basic001.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ gethostbyname() function - basic type return test
55
--SKIPIF--
66
<?php
77
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
8+
if (getenv("SKIP_ONLINE_TESTS")) die("skip test requiring internet connection");
89
?>
910
--FILE--
1011
<?php

ext/standard/tests/network/gethostbyname_error004.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ gethostbyname() function - basic return valid ip address test
55
--SKIPIF--
66
<?php
77
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
8+
if (getenv("SKIP_ONLINE_TESTS")) die("skip test requiring internet connection");
89
?>
910
--FILE--
1011
<?php

0 commit comments

Comments
 (0)