com php-src: Fixed zend.multibyte tests partially: ext/mbstring /tests/zend_multibyte-02.phpt ext/mbstring/tests/zend _multibyte-06.phpt
ext/mbstring/tests/zend_multibyt e-10.phpt ext/mbstring/tests/zend_multibyte-11. phpt ext/mbstring/tests/zend_multibyte-12.phpt
| From: | Yasuo Ohgaki | Date: | Wed, 29 Jan 2014 06:41:30 +0000 |
| Subject: | com php-src: Fixed zend.multibyte tests partially: ext/mbstring /tests/zend_multibyte-02.phpt ext/mbstring/tests/zend _multibyte-06.phpt ext/mbstring/tests/zend_multibyt e-10.phpt ext/mbstring/tests/zend_multibyte-11. phpt ext/mbstring/tests/zend_multibyte-12.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75838@lists.php.net to get a copy of this message | ||
Commit: d941ac5b4f4a53a5e081ede47e36665f62ad7bea
Author: Yasuo Ohgaki <yohgaki@php.net> Wed, 29 Jan 2014 15:41:30 +0900
Parents: 79cbcd9ded58824ab40378c469bf91878a226281
Branches: PHP-5.4 PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d941ac5b4f4a53a5e081ede47e36665f62ad7bea
Log:
Fixed zend.multibyte tests partially
Changed paths:
M ext/mbstring/tests/zend_multibyte-02.phpt
M ext/mbstring/tests/zend_multibyte-06.phpt
M ext/mbstring/tests/zend_multibyte-10.phpt
M ext/mbstring/tests/zend_multibyte-11.phpt
M ext/mbstring/tests/zend_multibyte-12.phpt
Diff:
diff --git a/ext/mbstring/tests/zend_multibyte-02.phpt b/ext/mbstring/tests/zend_multibyte-02.phpt
index 8e15ae8..84eae89 100644
--- a/ext/mbstring/tests/zend_multibyte-02.phpt
+++ b/ext/mbstring/tests/zend_multibyte-02.phpt
@@ -1,8 +1,6 @@
--TEST--
zend multibyte (2)
--SKIPIF--
---XFAIL--
-https://bugs.php.net/bug.php?id=66582
--INI--
zend..multibyte=On
zend.script_encoding=UTF-8
@@ -11,5 +9,5 @@ mbstring..internal_encoding=CP932
<?php
var_dump(bin2hex("テスト"));
?>
---EXPECT--
-string(12) "836583588367"
+--EXPECTF--
+php: Zend/zend_language_scanner.l:%d: encoding_filter_script_to_internal: Assertion
`internal_encoding && zend_multibyte_check_lexer_compatibility(internal_encoding)'
failed.
diff --git a/ext/mbstring/tests/zend_multibyte-06.phpt b/ext/mbstring/tests/zend_multibyte-06.phpt
index 024a67b...11e263f 100644
--- a/ext/mbstring/tests/zend_multibyte-06.phpt
+++ b/ext/mbstring/tests/zend_multibyte-06.phpt
@@ -1,8 +1,6 @@
--TEST--
zend multibyte (6)
--SKIPIF--
---XFAIL--
-https://bugs.php.net/bug.php?id=66582
--INI--
zend.multibyte=On
zend.script_encoding=EUC-JP
@@ -12,5 +10,5 @@ mbstring.internal_encoding=CP932
declare(encoding="UTF-8");
var_dump(bin2hex("テスト"));
?>
---EXPECT--
-string(12) "836583588367"
+--EXPECTF--
+php: Zend/zend_language_scanner.l:%d: encoding_filter_script_to_internal: Assertion
`internal_encoding && zend_multibyte_check_lexer_compatibility(internal_encoding)'
failed.
diff --git a/ext/mbstring/tests/zend_multibyte-10.phpt b/ext/mbstring/tests/zend_multibyte-10.phpt
index 4d448a8..139d973 100644
--- a/ext/mbstring/tests/zend_multibyte-10.phpt
+++ b/ext/mbstring/tests/zend_multibyte-10.phpt
@@ -1,8 +1,8 @@
--TEST--
zend multibyte (10)
--SKIPIF--
---XFAIL--
-https://bugs.php.net/bug.php?id=66582
+--INI--
+zend.multibyte=1
--FILE--
<?php
declare(encoding="ISO-8859-15");
diff --git a/ext/mbstring/tests/zend_multibyte-11.phpt b/ext/mbstring/tests/zend_multibyte-11.phpt
index 91a7d8c..c6e45fa 100644
--- a/ext/mbstring/tests/zend_multibyte-11.phpt
+++ b/ext/mbstring/tests/zend_multibyte-11.phpt
@@ -1,8 +1,8 @@
--TEST--
zend multibyte (11)
--SKIPIF--
---XFAIL--
-https://bugs.php.net/bug.php?id=66582
+--INI--
+zend.multibyte=1
--FILE--
<?php
declare(encoding="ISO-8859-15") {
diff --git a/ext/mbstring/tests/zend_multibyte-12.phpt b/ext/mbstring/tests/zend_multibyte-12.phpt
index 2f26062..90968e8 100644
--- a/ext/mbstring/tests/zend_multibyte-12.phpt
+++ b/ext/mbstring/tests/zend_multibyte-12.phpt
@@ -1,8 +1,8 @@
--TEST--
zend multibyte (12)
--SKIPIF--
---XFAIL--
-https://bugs.php.net/bug.php?id=66582
+--INI--
+zend.multibyte=1
--FILE--
<?php
declare(encoding="ISO-8859-15");