Commit:    02b8362ec231edb5be2a4ff633ad609c70713131
Author:    Anatoliy Belsky <a...@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--


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to