These tests all assume that IPV6 is available.

This commit is contained in:
Rasmus Lerdorf 2015-01-09 17:24:48 -08:00
parent 16d779a833
commit 50c721a623
5 changed files with 20 additions and 5 deletions

View File

@ -1,7 +1,10 @@
--TEST--
FPM: Test IPv6 support
--SKIPIF--
<?php include "skipif.inc"; ?>
<?php include "skipif.inc";
@stream_socket_client('tcp://[::1]:0', $errno);
if ($errno != 111) die('skip IPv6 not supported.');
?>
--FILE--
<?php

View File

@ -1,7 +1,10 @@
--TEST--
FPM: Test IPv4/IPv6 support
--SKIPIF--
<?php include "skipif.inc"; ?>
<?php include "skipif.inc";
@stream_socket_client('tcp://[::1]:0', $errno);
if ($errno != 111) die('skip IPv6 not supported.');
?>
--FILE--
<?php

View File

@ -1,7 +1,10 @@
--TEST--
FPM: Test IPv4 allowed clients
--SKIPIF--
<?php include "skipif.inc"; ?>
<?php include "skipif.inc";
@stream_socket_client('tcp://[::1]:0', $errno);
if ($errno != 111) die('skip IPv6 not supported.');
?>
--FILE--
<?php

View File

@ -1,7 +1,10 @@
--TEST--
FPM: Test IPv6 allowed clients (bug #68428)
--SKIPIF--
<?php include "skipif.inc"; ?>
<?php include "skipif.inc";
@stream_socket_client('tcp://[::1]:0', $errno);
if ($errno != 111) die('skip IPv6 not supported.');
?>
--FILE--
<?php

View File

@ -1,7 +1,10 @@
--TEST--
FPM: Test IPv6 all addresses and access_log (bug #68421)
--SKIPIF--
<?php include "skipif.inc"; ?>
<?php include "skipif.inc";
@stream_socket_client('tcp://[::1]:0', $errno);
if ($errno != 111) die('skip IPv6 not supported.');
?>
--FILE--
<?php