Skip to content

Commit

Permalink
These tests all assume that IPV6 is available.
Browse files Browse the repository at this point in the history
  • Loading branch information
rlerdorf authored and Tyrael committed Oct 25, 2017
1 parent 787e3a1 commit ad7ed6f
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
5 changes: 4 additions & 1 deletion sapi/fpm/tests/003.phpt
Original file line number Diff line number Diff line change
@@ -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

Expand Down
5 changes: 4 additions & 1 deletion sapi/fpm/tests/004.phpt
Original file line number Diff line number Diff line change
@@ -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

Expand Down
5 changes: 4 additions & 1 deletion sapi/fpm/tests/005.phpt
Original file line number Diff line number Diff line change
@@ -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

Expand Down
5 changes: 4 additions & 1 deletion sapi/fpm/tests/006.phpt
Original file line number Diff line number Diff line change
@@ -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

Expand Down
5 changes: 4 additions & 1 deletion sapi/fpm/tests/007.phpt
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit ad7ed6f

Please sign in to comment.