postings.txt fails when run under a non-English locale

Bug #318842 reported by Francis J. Lacoste on 2009-01-19
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Low
Curtis Hovey

Bug Description

My locale is french.

Output of locale is:
[francis@Huxley testfix]$ locale

LANG=fr_CA.UTF-8
LANGUAGE=fr_CA.UTF-8:fr_FR:fr:en_GB:en
LC_CTYPE="fr_CA.UTF-8"
LC_MESSAGES="fr_CA.UTF-8"
LC_ALL=fr_CA.UTF-8

When running the MailmanLayer tests, postings.txt fails because the Maimlan generated messages are in French:

https://pastebin.canonical.com/12837/

Related branches

Changed in launchpad-registry:
status: New → Triaged
Curtis Hovey (sinzui) on 2009-01-19
Changed in launchpad-registry:
importance: Undecided → High
Curtis Hovey (sinzui) wrote :

I image the easiest way to address this is to ensure the en lang and LC_ env vars are exported to the testrunner's env.

Changed in launchpad-registry:
importance: High → Low
Curtis Hovey (sinzui) wrote :

The failing part of the test is not necessary. We can ellipsise the localised parts; we only want to confirm "has been rejected by the list moderator."

tags: added: trivial
Curtis Hovey (sinzui) on 2010-11-17
Changed in launchpad-registry:
milestone: none → 10.12
assignee: nobody → Curtis Hovey (sinzui)
status: Triaged → In Progress
Curtis Hovey (sinzui) on 2010-11-20
tags: added: qa-ok
Curtis Hovey (sinzui) on 2010-11-21
Changed in launchpad-registry:
status: In Progress → Fix Committed
tags: added: qa-needstesting
removed: qa-ok
Curtis Hovey (sinzui) on 2010-11-22
tags: added: qa-ok
removed: qa-needstesting
Changed in launchpad-registry:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers