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

Bug #318842 reported by Francis J. Lacoste
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
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)
Changed in launchpad-registry:
importance: Undecided → High
Revision history for this message
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
Revision history for this message
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)
Changed in launchpad-registry:
milestone: none → 10.12
assignee: nobody → Curtis Hovey (sinzui)
status: Triaged → In Progress
Curtis Hovey (sinzui)
tags: added: qa-ok
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: In Progress → Fix Committed
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
tags: added: qa-needstesting
removed: qa-ok
Curtis Hovey (sinzui)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.