summaryrefslogtreecommitdiff
path: root/sapi/fpm/tests/005.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/fpm/tests/005.phpt')
-rw-r--r--sapi/fpm/tests/005.phpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/sapi/fpm/tests/005.phpt b/sapi/fpm/tests/005.phpt
index c565c2a9eb..6c8210ec8e 100644
--- a/sapi/fpm/tests/005.phpt
+++ b/sapi/fpm/tests/005.phpt
@@ -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