Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / interpreters / php / zlib-darwin-tests.patch
blobef61f0a878457403dcd5b9d0fc61abc7539e837d
1 diff --git a/ext/zlib/tests/bug55544.phpt b/ext/zlib/tests/bug55544.phpt
2 index a0d22f4fcebf4846da6781f424f87821626de5ea..e650fe6909f555d04834f4c08f7fd0d354b783e2 100644
3 --- a/ext/zlib/tests/bug55544.phpt
4 +++ b/ext/zlib/tests/bug55544.phpt
5 @@ -6,6 +6,9 @@ extension_loaded("zlib") or die("skip");
6 if (substr(PHP_OS, 0, 3) == 'WIN') {
7 die("skip not for windows");
9 +if (PHP_OS == "Darwin") {
10 + die("skip not for darwin");
13 --INI--
14 output_handler=ob_gzhandler
15 diff --git a/ext/zlib/tests/gzencode_variation1.phpt b/ext/zlib/tests/gzencode_variation1.phpt
16 index c966b2cbc5b7..2f953168fa22 100644
17 --- a/ext/zlib/tests/gzencode_variation1.phpt
18 +++ b/ext/zlib/tests/gzencode_variation1.phpt
19 @@ -10,6 +10,10 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) {
20 if (!extension_loaded("zlib")) {
21 print "skip - ZLIB extension not loaded";
24 +if (PHP_OS == "Darwin") {
25 + print "skip - OS is encoded in headers, tested header is non Darwin";
28 --FILE--
29 <?php
30 diff --git a/ext/zlib/tests/gzencode_variation2.phpt b/ext/zlib/tests/gzencode_variation2.phpt
31 index 94ac42a5f1cd..9160cf519751 100644
32 --- a/ext/zlib/tests/gzencode_variation2.phpt
33 +++ b/ext/zlib/tests/gzencode_variation2.phpt
34 @@ -10,6 +10,10 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) {
35 if (!extension_loaded("zlib")) {
36 print "skip - ZLIB extension not loaded";
39 +if (PHP_OS == "Darwin") {
40 + print "skip - OS is encoded in headers, tested header is non Darwin";
43 --FILE--
44 <?php