Re: Test results

From: Date: Mon, 28 Oct 2002 23:28:10 +0000
Subject: Re: Test results
References: 1 2  Groups: php.qa 
Request: Send a blank email to php-qa+get-6453@lists.php.net to get a copy of this message
At 22:03 28-10-2002, Moriyoshi Koizumi wrote:
forgot to mention my environment... I use linux 2.4.19 kernel with all NLS modules installed, and glibc version is 2.2.4.
When I added the FreeBSD locale yesterday, I made a typo (before commit). The skipif section was correct, but I typed ISO88x9 or sumfin, in the test itself. Therefore setlocale failed in the test - not the skipif section and I got the output as below. That's why I recognized it. If the skipif and testcode are the same, I have no plausible explanation, other than you can't setlocale() twice? :)
Moriyoshi Moriyoshi Koizumi <moriyoshi@at.wakwak.com> wrote: I think the result is irrelevant to mbstring. I modified the test to use en_US.ISO-8859-15 and it was passed without problem. Hmmm this means a possible setlocale() bug? Moriyoshi Melvyn Sopacua <msopacua@idg.nl> wrote:
At 12:48 28-10-2002, noreply@php.net wrote:
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15) [ext/standard/tests/strings/htmlentities02.phpt] ===================================================================== =====================================================================
===========
/part2/install/php-4.3.0pre2/ext/standard/tests/strings/htmlentities0
2.phpt
=====================================================================
===========
---- EXPECTED OUTPUT string(20) "&OElig;&oelig;&Yuml;" ---- ACTUAL OUTPUT string(24) "&frac14;&frac12;&frac34;" ---- FAILED
This output you get when setlocale() fails. But if setlocale() fails,
this test
should be skipped. So the only plausible explanation, is that this depends on mbstring
being
compiled in and so, the SKIPIF section should be updated. Moriyoshi, could you
verify?
Configure Command => './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-pfpro' '--enable-inline-optimization' '--with-mysql' '--enable-track-vars' '--disable-debug' '--disable-pic' '--disable-ctype'
'--disable-mbstring'
'--disable-xml' '--disable-tokenizer' '--with-zlib' '--enable-sysvshm' '--enable-sysvsem' '--enable-shmop' '--enable-costaid' '--with-mm' '--with-imap=/usr/install/imap-2002.RC5' '--with-gdbm' '--with-oci8' '--enable-sigchild' '--without-gd' '--with-curl' '--with-dom-exslt' '--with-dom-xslt' '--with-dom'
Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua
-- PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php
Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua

« previous php.qa (#6453) next »