com php-src: disable ext/openssl/tests/stream_server_reneg _limit.phpt for windows: ext/openssl/tests/stream _server_reneg_limit.phpt
| From: | Anatol Belski | Date: | Fri, 28 Nov 2014 11:24:32 +0000 |
| Subject: | com php-src: disable ext/openssl/tests/stream_server_reneg _limit.phpt for windows: ext/openssl/tests/stream _server_reneg_limit.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83368@lists.php.net to get a copy of this message | ||
Commit: 1552d6ae7bb2b2f13a268b035b2fcb83a7c2a0df
Author: Anatol Belski <ab@php.net> Fri, 28 Nov 2014 12:24:32 +0100
Parents: b0645abdccc9ab2bbe8f1de0ecf642cd27662100
Branches: PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1552d6ae7bb2b2f13a268b035b2fcb83a7c2a0df
Log:
disable ext/openssl/tests/stream_server_reneg_limit.phpt for windows
This is using the openssl binary which, despite it's contained in the
deps, would probably miss all it's environment. It is just prone to
failure and thus is not worth it.
Changed paths:
M ext/openssl/tests/stream_server_reneg_limit.phpt
Diff:
diff --git a/ext/openssl/tests/stream_server_reneg_limit.phpt
b/ext/openssl/tests/stream_server_reneg_limit.phpt
index 3abaa48..d355505 100644
--- a/ext/openssl/tests/stream_server_reneg_limit.phpt
+++ b/ext/openssl/tests/stream_server_reneg_limit.phpt
@@ -6,6 +6,10 @@ if (!extension_loaded("openssl")) die("skip openssl not
loaded");
if (!function_exists("proc_open")) die("skip no proc_open");
exec('openssl help', $out, $code);
if ($code > 0) die("skip couldn't locate openssl binary");
+if(substr(PHP_OS, 0, 3) == 'WIN') {
+ die('skip not suitable for Windows');
+}
+?>
--FILE--
<?php