Last modified: 2009-08-12 07:55:20 UTC
When running php t/inc/Revision.t of the test suite (in latest svn trunk) on Mandriva Cooker, I'm getting some failures: {{{{{{{{{{{{{{{ 1..19 ok 1 require includes/Defines.php ok 2 require includes/ProfilerStub.php ok 3 require includes/GlobalFunctions.php ok 4 require languages/Language.php ok 5 require includes/Revision.php ok 6 Get revision text ok 7 Get revision text with gzip compression ok 8 Get revision text utf-8 native not ok 9 Get revision text utf-8 legacy # Failed test 'Get revision text utf-8 legacy' # in /home/shlomi/Download/unpack/net/www/MediaWiki/trunk/phase3/t/inc/Revision.t at line 45 # got: Wiki est l'�cole superieur ! # expected: Wiki est l'�cole superieur ! == Wiki est l'école superieur ! ok 10 Get revision text utf-8 native and gzip not ok 11 Get revision text utf-8 native and gzip # Failed test 'Get revision text utf-8 native and gzip' # in /home/shlomi/Download/unpack/net/www/MediaWiki/trunk/phase3/t/inc/Revision.t at line 57 # got: Wiki est l'�cole superieur ! # expected: Wiki est l'�cole superieur ! == Wiki est l'école superieur ! ok 12 Flags should contain 'utf-8' ok 13 Flags should not contain 'gzip' ok 14 Direct check ok 15 getRevisionText ok 16 Flags should contain 'utf-8' ok 17 Flags should contain 'gzip' ok 18 Direct check ok 19 getRevisionText }}}}}}}}}}}}}}} I'd like to get the test suite to a situation where everything passes, and this is one of the things that block me. Regards, -- Shlomi Fish
Are we sure this is a bug in MediaWiki?
The tests in t/ are broken and should not be used. Someone's fixing them up now, but they're not done yet.