Re: Re: cvs: php4 /ext/iconv/tests translit.phpt

From: Date: Wed, 09 Oct 2002 20:04:40 +0000
Subject: Re: Re: cvs: php4 /ext/iconv/tests translit.phpt
References: 1 2  Groups: php.qa 
Request: Send a blank email to php-qa+get-6037@lists.php.net to get a copy of this message
At 21:47 9-10-2002, Moriyoshi Koizumi wrote:
As the original reporter of the bug #16069 (and the author of this test), the test should be intended specifically for EUC-JP (or ISO-2022-JP) transliteration. Because it is not really a transliteration test, as the bug turned out to be a kind of buffer allocation problem. If you are confused with the name of this test case, what about simply renaming it "bug #16069"?
Yeah, that would be a good thing, but - that still leaves translit testing for other charsets untested. I'll take a look at the iconv test suite and see if I can 'translit' them to php :-)
Melvyn Sopacua <msopacua@idg.nl> wrote: At 20:41 9-10-2002, Moriyoshi Koizumi wrote:
Hi, I confirmed this test might not work even with libiconv, when the errno test run by configure failed. IMO it has something to do with other EUC-JP related failures on BSD platforms.
Ok - so split up the tests in two? It's better to know, translit is not working for EUC-JP, than to think translit is not working period.
Moriyoshi Koizumi "Rui Hirokawa" <rui_hirokawa@ybb.ne.jp> wrote:
hirokawa              Wed Oct  9 08:54:52 2002 EDT
Modified files:
    /php4/ext/iconv/tests     translit.phpt
Log: added @ to suppress a notice. Index: php4/ext/iconv/tests/translit.phpt diff -u php4/ext/iconv/tests/translit.phpt:1.4
php4/ext/iconv/tests/translit.phpt:1.5
--- php4/ext/iconv/tests/translit.phpt:1.4    Wed Sep  4 01:17:16 2002
+++ php4/ext/iconv/tests/translit.phpt        Wed Oct  9 08:54:52 2002
@@ -1,7 +1,7 @@ --TEST-- ICONV: LIBICONV transliteration (bug #16069) --SKIPIF-- -<?php include( 'skipif.inc' ); if( iconv('CP932', 'EUC-JP//TRANSLIT',
"\x87\x6d") == '' ) die("skip\n"); ?>
+<?php include( 'skipif.inc' ); if( @iconv('CP932',
'EUC-JP//TRANSLIT',
"\x87\x6d") == '' ) die("skip\n"); ?>
--POST-- --GET-- --FILE--
Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua

« previous php.qa (#6037) next »