]> granicus.if.org Git - php/commitdiff
disable ext/openssl/tests/stream_server_reneg_limit.phpt for windows
authorAnatol Belski <ab@php.net>
Fri, 28 Nov 2014 11:24:32 +0000 (12:24 +0100)
committerAnatol Belski <ab@php.net>
Fri, 28 Nov 2014 11:24:32 +0000 (12:24 +0100)
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.

ext/openssl/tests/stream_server_reneg_limit.phpt

index 3abaa48e413b67e71c3714997eb1e2672528356b..d355505e541e0dc12572d0f459babe2e5f6cf1dd 100644 (file)
@@ -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