com php-src: Mark this test as requiring internet connecion.: ext/sockets/tests/socket_bind.phpt

From: Date: Thu, 31 Jan 2013 13:38:39 +0000
Subject: com php-src: Mark this test as requiring internet connecion.: ext/sockets/tests/socket_bind.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-71097@lists.php.net to get a copy of this message
Commit: 9d75bf35e96bfc5c8d629ecef6807a90b4c98be7 Author: Remi Collet <remi@php.net> Thu, 31 Jan 2013 14:38:39 +0100 Parents: f7362232f47a9fcaf0162087dbbbdb0b4562b59d Branches: PHP-5.4 PHP-5.5 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9d75bf35e96bfc5c8d629ecef6807a90b4c98be7 Log: Mark this test as requiring internet connecion. Changed paths: M ext/sockets/tests/socket_bind.phpt Diff: diff --git a/ext/sockets/tests/socket_bind.phpt b/ext/sockets/tests/socket_bind.phpt index 15181e6..7ea2df8 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

« previous php.cvs (#71097) next »