summaryrefslogtreecommitdiff
path: root/ext/sockets
diff options
context:
space:
mode:
authorChristoph M. Becker <cmb@php.net>2016-07-28 17:19:47 +0200
committerChristoph M. Becker <cmb@php.net>2016-07-28 17:19:47 +0200
commitc301adbbd16270fdf59db161725594e76895a662 (patch)
treeb7f023c1d9c70e0234800ecc052fef459ff89419 /ext/sockets
parent6e886f07a8f8cdad8ffb056d6133b49a79a0d216 (diff)
downloadphp-git-c301adbbd16270fdf59db161725594e76895a662.tar.gz
Fix #72677: SCM_CREDENTIALS related tests should be skipped on AIX
Patch provided by matthieu dot sarter dot external at atos dot net.
Diffstat (limited to 'ext/sockets')
-rw-r--r--ext/sockets/tests/socket_cmsg_credentials.phpt3
-rw-r--r--ext/sockets/tests/socket_cmsg_rights.phpt3
2 files changed, 6 insertions, 0 deletions
diff --git a/ext/sockets/tests/socket_cmsg_credentials.phpt b/ext/sockets/tests/socket_cmsg_credentials.phpt
index 6a1c23fa8c..922be0bb37 100644
--- a/ext/sockets/tests/socket_cmsg_credentials.phpt
+++ b/ext/sockets/tests/socket_cmsg_credentials.phpt
@@ -8,6 +8,9 @@ die('skip sockets extension not available.');
if (strtolower(substr(PHP_OS, 0, 3)) == 'win') {
die('skip not for Microsoft Windows');
}
+if (strtolower(substr(PHP_OS, 0, 3)) == 'aix') {
+die('skip not for AIX');
+}
--CLEAN--
<?php
$path = __DIR__ . "/unix_sock";
diff --git a/ext/sockets/tests/socket_cmsg_rights.phpt b/ext/sockets/tests/socket_cmsg_rights.phpt
index 8c1734a568..7b750f16a8 100644
--- a/ext/sockets/tests/socket_cmsg_rights.phpt
+++ b/ext/sockets/tests/socket_cmsg_rights.phpt
@@ -8,6 +8,9 @@ die('skip sockets extension not available.');
if (strtolower(substr(PHP_OS, 0, 3)) == 'win') {
die('skip not for Microsoft Windows');
}
+if (strtolower(substr(PHP_OS, 0, 3)) == 'aix') {
+die('skip not for AIX');
+}
--CLEAN--
<?php
$path = __DIR__ . "/unix_sock";