summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatoliy Belsky <ab@php.net>2012-07-13 11:39:57 +0200
committerAnatoliy Belsky <ab@php.net>2012-07-13 11:39:57 +0200
commit02b8362ec231edb5be2a4ff633ad609c70713131 (patch)
tree59e824f56dee14bb0d29575a7f7fcc2c43283438
parentad7eeba3c1a4c77f439afc936fbf50b811a46a6b (diff)
downloadphp-git-02b8362ec231edb5be2a4ff633ad609c70713131.tar.gz
Fixed bug #61677 ext\zlib\tests\bug_52944.phpt fails
The test is known to fail on windows with zlib version < 1.2.7 (current dep is 1.2.5), with 1.2.7 it works. As it's primarily a zlib 1.2.5 issue on windows, skip it for now.
-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--