summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatoliy Belsky <ab@php.net>2012-07-13 11:46:49 +0200
committerAnatoliy Belsky <ab@php.net>2012-07-13 11:46:49 +0200
commit92bf6391aae5bbbe6a1202cae20dd1d5e13f0871 (patch)
tree2b8b2a4273bcb5e96a93923a4d4d8d66c947e0d4
parent9cfb17611691fa1dad2c57ad1d57d92eff196315 (diff)
parentd9d21b20379850f7cc73dd8a7c728a918cb2fafa (diff)
downloadphp-git-92bf6391aae5bbbe6a1202cae20dd1d5e13f0871.tar.gz
Merge branch 'PHP-5.4'
* PHP-5.4: Fixed bug #61677 ext\zlib\tests\bug_52944.phpt fails
-rw-r--r--ext/zlib/tests/bug_52944.phpt5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/zlib/tests/bug_52944.phpt b/ext/zlib/tests/bug_52944.phpt
index 850371190e..c090fe6f5c 100644
--- a/ext/zlib/tests/bug_52944.phpt
+++ b/ext/zlib/tests/bug_52944.phpt
@@ -2,6 +2,11 @@
Bug #52944 (segfault with zlib filter and corrupted data)
--SKIPIF--
<?php if (!extension_loaded("zlib")) print "skip"; ?>
+<?php
+include "func.inc";
+if (substr(PHP_OS, 0, 3) == 'WIN' && version_compare(get_zlib_version(), '1.2.7') < 0) {
+ die('skip - only for zlib >= 1.2.7 on windows');
+}
--INI--
allow_url_fopen=1
--FILE--