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.
This commit is contained in:
Anatoliy Belsky 2012-07-13 11:39:57 +02:00
parent ad7eeba3c1
commit 02b8362ec2

View File

@ -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--