com php-src: Fix #72677: SCM_CREDENTIALS related tests should be skipped on AIX: ext/sockets/tests/socket _cmsg_credentials.phpt
ext/sockets/tests/socket_cmsg _rights.phpt
| From: | Christoph Michael Becker | Date: | Thu, 28 Jul 2016 15:19:47 +0000 |
| Subject: | com php-src: Fix #72677: SCM_CREDENTIALS related tests should be skipped on AIX: ext/sockets/tests/socket _cmsg_credentials.phpt ext/sockets/tests/socket_cmsg _rights.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-93457@lists.php.net to get a copy of this message | ||
Commit: c301adbbd16270fdf59db161725594e76895a662
Author: Christoph M. Becker <cmb@php.net> Thu, 28 Jul 2016 17:19:47 +0200
Parents: 6e886f07a8f8cdad8ffb056d6133b49a79a0d216
Branches: PHP-5.6 PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c301adbbd16270fdf59db161725594e76895a662
Log:
Fix #72677: SCM_CREDENTIALS related tests should be skipped on AIX
Patch provided by matthieu dot sarter dot external at atos dot net.
Bugs:
https://bugs.php.net/72677
Changed paths:
M ext/sockets/tests/socket_cmsg_credentials.phpt
M ext/sockets/tests/socket_cmsg_rights.phpt
Diff:
diff --git a/ext/sockets/tests/socket_cmsg_credentials.phpt
b/ext/sockets/tests/socket_cmsg_credentials.phpt
index 6a1c23f..922be0b 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 8c1734a..7b750f1 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";