Last modified: 2009-08-12 07:55:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T17480, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15480 - [Test Suite]: php t/inc/Revision.t fails on Mandriva Cooker
[Test Suite]: php t/inc/Revision.t fails on Mandriva Cooker
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.14.x
PC Linux
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: testme
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-04 19:32 UTC by Shlomi Fish
Modified: 2009-08-12 07:55 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Shlomi Fish 2008-09-04 19:32:02 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
Comment 1 Mike.lifeguard 2009-08-11 23:54:02 UTC
Are we sure this is a bug in MediaWiki?
Comment 2 Roan Kattouw 2009-08-12 07:55:20 UTC
The tests in t/ are broken and should not be used. Someone's fixing them up now, but they're not done yet.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links