diff options
author | Ferenc Kovacs <tyrael@php.net> | 2014-11-27 00:15:16 +0100 |
---|---|---|
committer | Ferenc Kovacs <tyrael@php.net> | 2014-11-27 00:15:16 +0100 |
commit | 5b098036e8e43ea46d40ab7b7e617e9a0eec3ece (patch) | |
tree | 3b20331cda6a335bc6e793574943fbd912606807 | |
parent | 25b119ef62244741cbd38a385be6347099dc8a6a (diff) | |
parent | fcf21c4d00453f90b69894f1131ae505d92696ee (diff) | |
download | php-git-5b098036e8e43ea46d40ab7b7e617e9a0eec3ece.tar.gz |
Merge branch 'PHP-5.6' into PHP-5.6.4php-5.6.4RC1
* PHP-5.6:
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.
5.5.21 now
-rw-r--r-- | ext/zlib/tests/bug_52944-darwin.phpt | 24 | ||||
-rw-r--r-- | ext/zlib/tests/bug_52944.phpt | 4 |
2 files changed, 0 insertions, 28 deletions
diff --git a/ext/zlib/tests/bug_52944-darwin.phpt b/ext/zlib/tests/bug_52944-darwin.phpt deleted file mode 100644 index c25babadf5..0000000000 --- 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 ff82d29cc7..68bd53791d 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-- |