Skip to content

Commit 02b8362

Browse files
committed
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.
1 parent ad7eeba commit 02b8362

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ext/zlib/tests/bug_52944.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Bug #52944 (segfault with zlib filter and corrupted data)
33
--SKIPIF--
44
<?php if (!extension_loaded("zlib")) print "skip"; ?>
5+
<?php
6+
include "func.inc";
7+
if (substr(PHP_OS, 0, 3) == 'WIN' && version_compare(get_zlib_version(), '1.2.7') < 0) {
8+
die('skip - only for zlib >= 1.2.7 on windows');
9+
}
510
--INI--
611
allow_url_fopen=1
712
--FILE--

0 commit comments

Comments
 (0)