aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/interpreters/php/zlib-darwin-tests.patch
blob: ef61f0a878457403dcd5b9d0fc61abc7539e837d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
diff --git a/ext/zlib/tests/bug55544.phpt b/ext/zlib/tests/bug55544.phpt
index a0d22f4fcebf4846da6781f424f87821626de5ea..e650fe6909f555d04834f4c08f7fd0d354b783e2 100644
--- a/ext/zlib/tests/bug55544.phpt
+++ b/ext/zlib/tests/bug55544.phpt
@@ -6,6 +6,9 @@ extension_loaded("zlib") or die("skip");
 if (substr(PHP_OS, 0, 3) == 'WIN') {
        die("skip not for windows");
 }
+if (PHP_OS == "Darwin") {
+       die("skip not for darwin");
+}
 ?>
 --INI--
 output_handler=ob_gzhandler
diff --git a/ext/zlib/tests/gzencode_variation1.phpt b/ext/zlib/tests/gzencode_variation1.phpt
index c966b2cbc5b7..2f953168fa22 100644
--- a/ext/zlib/tests/gzencode_variation1.phpt
+++ b/ext/zlib/tests/gzencode_variation1.phpt
@@ -10,6 +10,10 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) {
 if (!extension_loaded("zlib")) {
 	print "skip - ZLIB extension not loaded";
 }
+
+if (PHP_OS == "Darwin") {
+    print "skip - OS is encoded in headers, tested header is non Darwin";
+}
 ?>
 --FILE--
 <?php
diff --git a/ext/zlib/tests/gzencode_variation2.phpt b/ext/zlib/tests/gzencode_variation2.phpt
index 94ac42a5f1cd..9160cf519751 100644
--- a/ext/zlib/tests/gzencode_variation2.phpt
+++ b/ext/zlib/tests/gzencode_variation2.phpt
@@ -10,6 +10,10 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) {
 if (!extension_loaded("zlib")) {
 	print "skip - ZLIB extension not loaded";
 }
+
+if (PHP_OS == "Darwin") {
+    print "skip - OS is encoded in headers, tested header is non Darwin";
+}
 ?>
 --FILE--
 <?php