diff options
author | Remi Collet <remi@php.net> | 2013-01-31 14:38:39 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2013-01-31 14:38:39 +0100 |
commit | 9d75bf35e96bfc5c8d629ecef6807a90b4c98be7 (patch) | |
tree | fe5d4aeb2d9800940e0ea8bc6e7ac38183acd7bc /ext/sockets/tests/socket_bind.phpt | |
parent | f7362232f47a9fcaf0162087dbbbdb0b4562b59d (diff) | |
download | php-git-9d75bf35e96bfc5c8d629ecef6807a90b4c98be7.tar.gz |
Mark this test as requiring internet connecion.
Diffstat (limited to 'ext/sockets/tests/socket_bind.phpt')
-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 |