From: Jani Taskinen Date: Mon, 30 Nov 2009 20:31:52 +0000 (+0000) Subject: - Fix tests assuming wrong ini options and extensions that might not be there X-Git-Tag: php-5.3.2RC1~136 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=50a24392e95cf316a35dfbbde4e4d1d2078397cb;p=php - Fix tests assuming wrong ini options and extensions that might not be there --- diff --git a/Zend/tests/bug50174.phpt b/Zend/tests/bug50174.phpt index 6ed5733b67..fef65136ba 100644 --- a/Zend/tests/bug50174.phpt +++ b/Zend/tests/bug50174.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #50174 (Incorrectly matched docComment) +--SKIPIF-- + --FILE-- +--INI-- +iconv.input_encoding=ISO-8859-1 +iconv.internal_encoding=ISO-8859-1 +iconv.output_encoding=ISO-8859-1 --FILE-- string(5) "UTF-8" } -Done \ No newline at end of file +Done diff --git a/ext/iconv/tests/iconv_substr_basic.phpt b/ext/iconv/tests/iconv_substr_basic.phpt index b8db8a124f..0754fc8779 100644 --- a/ext/iconv/tests/iconv_substr_basic.phpt +++ b/ext/iconv/tests/iconv_substr_basic.phpt @@ -5,6 +5,10 @@ Test iconv_substr() function : basic functionality extension_loaded('iconv') or die('skip'); function_exists('iconv_substr') or die("skip iconv_substr() is not available in this build"); ?> +--INI-- +iconv.input_encoding=ISO-8859-1 +iconv.internal_encoding=ISO-8859-1 +iconv.output_encoding=ISO-8859-1 --FILE--