From: Felipe Pena Date: Mon, 5 Jan 2009 19:04:27 +0000 (+0000) Subject: - Fixed tests X-Git-Tag: php-5.4.0alpha1~191^2~4630 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa6580c0ac5501f74926cc41a9edd6dcd1b7befe;p=php - Fixed tests --- diff --git a/ext/iconv/tests/iconv_substr.phpt b/ext/iconv/tests/iconv_substr.phpt index ba63693888..0b2ef437a9 100644 --- a/ext/iconv/tests/iconv_substr.phpt +++ b/ext/iconv/tests/iconv_substr.phpt @@ -47,24 +47,6 @@ var_dump(iconv("ISO-2022-JP", "EUC-JP", iconv_substr(iconv("EUC-JP", "ISO-2022-J a6a4a8a4aaa4ab a4aba4ada4afa4b1a4b3a4b5a4b7 bool(false) -string(0) "" -string(14) "This is a test" -string(14) "This is a test" -string(3) "est" -string(3) "est" -string(5) "This " -string(5) "This " -string(0) "" -string(0) "" -string(0) "" -string(0) "" -string(10) "¤Á¤Ï ISO-2" ---UEXPECT-- -666768696a6b6c -666768696a6b6c -a6a4a8a4aaa4ab -a4aba4ada4afa4b1a4b3a4b5a4b7 -bool(false) unicode(0) "" unicode(14) "This is a test" unicode(14) "This is a test" diff --git a/ext/session/tests/session_name_basic.phpt b/ext/session/tests/session_name_basic.phpt index 4866caa4a8..7834b74788 100644 --- a/ext/session/tests/session_name_basic.phpt +++ b/ext/session/tests/session_name_basic.phpt @@ -30,15 +30,6 @@ ob_end_flush(); ?> --EXPECTF-- *** Testing session_name() : error functionality *** -string(9) "PHPSESSID" -string(9) "PHPSESSID" -bool(true) -string(4) "blah" -bool(true) -string(4) "blah" -Done ---UEXPECTF-- -*** Testing session_name() : error functionality *** unicode(9) "PHPSESSID" unicode(9) "PHPSESSID" bool(true) diff --git a/ext/standard/tests/file/rmdir_variation1.phpt b/ext/standard/tests/file/rmdir_variation1.phpt index d219e6cdf3..a7a4990072 100644 --- a/ext/standard/tests/file/rmdir_variation1.phpt +++ b/ext/standard/tests/file/rmdir_variation1.phpt @@ -90,38 +90,38 @@ foreach($inputs as $key =>$value) { *** Testing rmdir() : usage variation *** --uppercase NULL-- -Error: 2 - rmdir(): No such file or directory, %s(%d) +Error: 2 - rmdir(): %s, %s(%d) bool(false) --lowercase null-- -Error: 2 - rmdir(): No such file or directory, %s(%d) +Error: 2 - rmdir(): %s, %s(%d) bool(false) --lowercase false-- -Error: 2 - rmdir(): No such file or directory, %s(%d) +Error: 2 - rmdir(): %s, %s(%d) bool(false) --uppercase FALSE-- -Error: 2 - rmdir(): No such file or directory, %s(%d) +Error: 2 - rmdir(): %s, %s(%d) bool(false) --empty string DQ-- -Error: 2 - rmdir(): No such file or directory, %s(%d) +Error: 2 - rmdir(): %s, %s(%d) bool(false) --empty string SQ-- -Error: 2 - rmdir(): No such file or directory, %s(%d) +Error: 2 - rmdir(): %s, %s(%d) bool(false) --undefined var-- -Error: 2 - rmdir(): No such file or directory, %s(%d) +Error: 2 - rmdir(): %s, %s(%d) bool(false) --unset var-- -Error: 2 - rmdir(): No such file or directory, %s(%d) +Error: 2 - rmdir(): %s, %s(%d) bool(false) --single space-- -Error: 2 - rmdir( ): No such file or directory, %s(%d) +Error: 2 - rmdir( ): %s, %s(%d) bool(false) ===DONE===