summary refs log blame commit diff
path: root/pkgs/development/interpreters/php/zlib-darwin-tests.patch
blob: ef61f0a878457403dcd5b9d0fc61abc7539e837d (plain) (tree)











































                                                                                               
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