aboutsummaryrefslogtreecommitdiffstats
path: root/tests/network
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-08-14 14:42:53 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2011-08-14 14:42:53 -0400
commit2a0c9e4026d3f8e1f5bcfc9e00319ba4515f0b2f (patch)
tree4021605b82dd2ec7ae7972677ed07f208208f1fc /tests/network
parentc2114920925d753e7286145c01c7ef7486362619 (diff)
downloadforums-2a0c9e4026d3f8e1f5bcfc9e00319ba4515f0b2f.tar
forums-2a0c9e4026d3f8e1f5bcfc9e00319ba4515f0b2f.tar.gz
forums-2a0c9e4026d3f8e1f5bcfc9e00319ba4515f0b2f.tar.bz2
forums-2a0c9e4026d3f8e1f5bcfc9e00319ba4515f0b2f.tar.xz
forums-2a0c9e4026d3f8e1f5bcfc9e00319ba4515f0b2f.zip
[ticket/9297] Adjust comment - IPv6 is needed for IPv6 connections to work.
Looks like IPv6-encapsulated IPv4 addresses do not actually work if the host has no IPv6 connectivity. PHPBB3-9297
Diffstat (limited to 'tests/network')
-rw-r--r--tests/network/ftp_fsock_test.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/network/ftp_fsock_test.php b/tests/network/ftp_fsock_test.php
index b801ae4037..cfffe8fd67 100644
--- a/tests/network/ftp_fsock_test.php
+++ b/tests/network/ftp_fsock_test.php
@@ -45,11 +45,9 @@ class phpbb_ftp_fsock_test extends phpbb_test_case
{
$o = $this->get_object($hostname);
$result = $o->_init();
- // PHP can connect to IPv6 addresses which are IPv6-encapsulated
- // IPv4 addresses on systems that don't have IPv6 connectivity,
- // provided that PHP was built with IPv6 support.
- // If this test fails on such an IPv6-encapsulated IPv4 address,
- // check whether you disabled IPv6 support in your PHP.
+ // This test may fail on IPv6 addresses if IPv6 support is
+ // not available. PHP must be compiled with IPv6 support enabled,
+ // and your operating system must be configured for IPv6 as well.
if ($result !== true)
{
$this->markTestSkipped("Failed to connect to $hostname: $result");