diff options
author | Christoph M. Becker <cmb@php.net> | 2015-09-09 04:27:28 +0200 |
---|---|---|
committer | Christoph M. Becker <cmb@php.net> | 2015-09-09 04:27:28 +0200 |
commit | 71da4f1f7f6b2ea51f85f2795f8297ba4fa720cb (patch) | |
tree | aef31ebeae89504c18a5b5daed4fd4f543d054fd | |
parent | b89f128480e673c0c0981a0037c6f4af883881d0 (diff) | |
download | php-git-71da4f1f7f6b2ea51f85f2795f8297ba4fa720cb.tar.gz |
Skip test for old glibc iconv
bug32001.phpt has a high failure rate for the submitted reports. According to
several samples it seems the iconv implementation of glibc 2.12 (released
2010-05) is the culprit. It seems appropriate to skip the test for such old
versions.
-rw-r--r-- | ext/xml/tests/bug32001.phpt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/xml/tests/bug32001.phpt b/ext/xml/tests/bug32001.phpt index 0853b3ab1c..ed93582081 100644 --- a/ext/xml/tests/bug32001.phpt +++ b/ext/xml/tests/bug32001.phpt @@ -4,6 +4,8 @@ Bug #32001 (xml_parse*() goes into infinite loop when autodetection in effect), <?php require_once("skipif.inc"); if (!extension_loaded('iconv')) die ("skip iconv extension not available"); +if (ICONV_IMPL == 'glibc' && version_compare(ICONV_VERSION, '2.12', '<=')) + die("skip iconv of glibc <= 2.12 is buggy"); ?> --FILE-- <?php |