cvs: php4 /ext/mbstring/tests mb_send_mail05.phpt mb_send_mail06.phpt

From: Date: Wed, 13 Nov 2002 16:52:49 +0000
Subject: cvs: php4 /ext/mbstring/tests mb_send_mail05.phpt mb_send_mail06.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-16092@lists.php.net to get a copy of this message
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

« previous php.cvs (#16092) next »