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