com php-src: the darwin specific test fails for me with the same output which is the expected for the original test I couldn't find anybody who
managed to see this test passing, but I found a bunch of other reports on qa.php.net/reports and on google which do see this test failing on mac. if
this change causes you to have this test failing on Mac, please drop me a mail so we can improve the current test so it passes for everybody.:
ext/zlib/tests
| From: | Ferenc Kovacs | Date: | Wed, 26 Nov 2014 23:08:40 +0000 |
| Subject: | com php-src: the darwin specific test fails for me with the same output which is the expected for the original test I couldn't find anybody who managed to see this test passing, but I found a bunch of other reports on qa.php.net/reports and on google which do see this test failing on mac. if this change causes you to have this test failing on Mac, please drop me a mail so we can improve the current test so it passes for everybody.: ext/zlib/tests |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83348@lists.php.net to get a copy of this message | ||
Commit: 5d67e8617b5d0bf9015bb8ea4df570e19aed89de
Author: Ferenc Kovacs <tyrael@php.net> Thu, 27 Nov 2014 00:08:40 +0100
Parents: 3656349990cf67b32df8155901e76a88ea2cea44
Branches: PHP-5.5
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5d67e8617b5d0bf9015bb8ea4df570e19aed89de
Log:
the darwin specific test fails for me with the same output which is the expected for the original
test
I couldn't find anybody who managed to see this test passing, but I found a bunch of other
reports on
qa.php.net/reports and on google which do see this test failing on mac.
if this change causes you to have this test failing on Mac, please drop me a mail so we can improve
the current test so it passes for everybody.
Changed paths:
D ext/zlib/tests/bug_52944-darwin.phpt
M ext/zlib/tests/bug_52944.phpt
Diff:
diff --git a/ext/zlib/tests/bug_52944-darwin.phpt b/ext/zlib/tests/bug_52944-darwin.phpt
deleted file mode 100644
index c25baba..0000000
--- a/ext/zlib/tests/bug_52944-darwin.phpt
+++ /dev/null
@@ -1,24 +0,0 @@
---TEST--
-Bug #52944 (segfault with zlib filter and corrupted data)
---SKIPIF--
-<?php if (!extension_loaded("zlib")) print "skip"; ?>
-<?php
-if (PHP_OS != 'Darwin') {
- die("skip Darwin only");
-}
---INI--
-allow_url_fopen=1
---FILE--
-<?php
-require dirname(__FILE__) . "/bug_52944_corrupted_data.inc";
-
-$fp = fopen('data://text/plain;base64,' . $data, 'r');
-stream_filter_append($fp, 'zlib.inflate', STREAM_FILTER_READ);
-var_dump(fread($fp,1));
-var_dump(fread($fp,1));
-fclose($fp);
-echo "Done.\n";
---EXPECT--
-string(1) "%"
-string(1) "C"
-Done.
diff --git a/ext/zlib/tests/bug_52944.phpt b/ext/zlib/tests/bug_52944.phpt
index ff82d29..68bd537 100644
--- a/ext/zlib/tests/bug_52944.phpt
+++ b/ext/zlib/tests/bug_52944.phpt
@@ -2,10 +2,6 @@
Bug #52944 (segfault with zlib filter and corrupted data)
--SKIPIF--
<?php if (!extension_loaded("zlib")) print "skip"; ?>
-<?php
-if (PHP_OS == 'Darwin') {
- die("skip not for Darwin");
-}
--INI--
allow_url_fopen=1
--FILE--