iliaa Wed Nov 13 11:52:49 2002 EDT Modified files: /php4/ext/mbstring/tests mb_send_mail05.phpt mb_send_mail06.phpt Log: Added a skip condition for when the encoding needed for the test is not available or supported. Index: php4/ext/mbstring/tests/mb_send_mail05.phpt diff -u php4/ext/mbstring/tests/mb_send_mail05.phpt:1.1 php4/ext/mbstring/tests/mb_send_mail05.phpt:1.2 --- php4/ext/mbstring/tests/mb_send_mail05.phpt:1.1 Wed Nov 13 03:45:37 2002 +++ php4/ext/mbstring/tests/mb_send_mail05.phpt Wed Nov 13 11:52:48 2002 @@ -5,6 +5,9 @@ if (@mb_send_mail() === false || !mb_language("Simplified Chinese")) { die("skip mb_send_mail() not available"); } +if (!@mb_internal_encoding('GB2312')) { + die("skip GB2312 encoding is not avaliable on this platform"); +} ?> --INI-- sendmail_path=cat Index: php4/ext/mbstring/tests/mb_send_mail06.phpt diff -u php4/ext/mbstring/tests/mb_send_mail06.phpt:1.1 php4/ext/mbstring/tests/mb_send_mail06.phpt:1.2 --- php4/ext/mbstring/tests/mb_send_mail06.phpt:1.1 Wed Nov 13 07:00:47 2002 +++ php4/ext/mbstring/tests/mb_send_mail06.phpt Wed Nov 13 11:52:48 2002 @@ -5,6 +5,9 @@ if (@mb_send_mail() === false || !mb_language("Traditional Chinese")) { die("skip mb_send_mail() not available"); } +if (!@mb_internal_encoding('BIG5')) { + die("skip BIG5 encoding is not avaliable on this platform"); +} ?> --INI-- sendmail_path=cat
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php