diff options
-rw-r--r-- | ext/sockets/tests/socket_bind.phpt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/sockets/tests/socket_bind.phpt b/ext/sockets/tests/socket_bind.phpt index 15181e68a6..7ea2df8e1c 100644 --- a/ext/sockets/tests/socket_bind.phpt +++ b/ext/sockets/tests/socket_bind.phpt @@ -8,6 +8,9 @@ fa@php.net if (!extension_loaded('sockets')) { die('skip - sockets extension not available.'); } + if (getenv("SKIP_ONLINE_TESTS")) { + die("skip test requiring internet connection"); + } ?> --FILE-- <?php |