Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249810 - dev-util/mercurial-1.0.2 fails tests ( a whole 1 character out in test-highlight )
Summary: dev-util/mercurial-1.0.2 fails tests ( a whole 1 character out in test-highli...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Lowest trivial (vote)
Assignee: Krzysztof Pawlik (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-04 16:15 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2009-03-09 20:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-util/mercurial/files/mercuial-1.0.2.test-highlight.patch (mercurial-1.0.2.test-highlight.patch,25.82 KB, patch)
2008-12-04 16:17 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details | Diff
dev-util/mercurial/mercuial-1.0.2.ebuild ( modified ) (mercurial-1.0.2.ebuild,3.24 KB, text/plain)
2008-12-04 16:19 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2008-12-04 16:15:35 UTC
Tests Failed: test-highlight

This is a relatively trivial difference. Both differences of epically long HTML lines have the same discrepancy. 

-<span class="k">import 
+<span class="kn">import 

I whipped up a simple patch to put the 'n' back in the testcase file 
mercurial-1.0.2/tests/test-highlight.out 

And that made the test pass again. 

I get the feeling I'm possibly patching a symptom instead of a problem here, but I'll leave that up to the maintainer to decide.
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2008-12-04 16:17:46 UTC
Created attachment 174243 [details, diff]
dev-util/mercurial/files/mercuial-1.0.2.test-highlight.patch

Trivial Patch
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2008-12-04 16:19:06 UTC
Created attachment 174244 [details]
dev-util/mercurial/mercuial-1.0.2.ebuild  ( modified )

Trivially modified ebuild
Comment 3 Krzysztof Pawlik (RETIRED) gentoo-dev 2009-01-08 22:28:11 UTC
Have you contacted upstream about this issue?
Comment 4 Krzysztof Pawlik (RETIRED) gentoo-dev 2009-03-09 20:51:07 UTC
Works correctly in 1.2