From 50a24392e95cf316a35dfbbde4e4d1d2078397cb Mon Sep 17 00:00:00 2001 From: Jani Taskinen Date: Mon, 30 Nov 2009 20:31:52 +0000 Subject: [PATCH] - Fix tests assuming wrong ini options and extensions that might not be there --- Zend/tests/bug50174.phpt | 2 ++ ext/iconv/tests/iconv_encoding_basic.phpt | 6 +++++- ext/iconv/tests/iconv_substr_basic.phpt | 6 +++++- 3 files changed, 12 insertions(+), 2 deletions(-) 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--