com php-src: Fixed bug #61677 ext\zlib\tests\bug_52 944.phpt fails: ext/zlib/tests/bug_5294 4.phpt
| From: | Anatoliy Belsky | Date: | Fri, 13 Jul 2012 09:39:57 +0000 |
| Subject: | com php-src: Fixed bug #61677 ext\zlib\tests\bug_52 944.phpt fails: ext/zlib/tests/bug_5294 4.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-69576@lists.php.net to get a copy of this message | ||
Commit: 02b8362ec231edb5be2a4ff633ad609c70713131
Author: Anatoliy Belsky <ab@php.net> Fri, 13 Jul 2012 11:39:57 +0200
Parents: ad7eeba3c1a4c77f439afc936fbf50b811a46a6b
Branches: PHP-5.3 PHP-5.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=02b8362ec231edb5be2a4ff633ad609c70713131
Log:
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.
Bugs:
https://bugs.php.net/61677
Changed paths:
M ext/zlib/tests/bug_52944.phpt
Diff:
diff --git a/ext/zlib/tests/bug_52944.phpt b/ext/zlib/tests/bug_52944.phpt
index 8503711..c090fe6 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--