Bug 5339 - t/spamc_l.t fails under non-english locale
Summary: t/spamc_l.t fails under non-english locale
Status: RESOLVED WORKSFORME
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Regression Tests (show other bugs)
Version: 3.1.8
Hardware: PC Linux
: P5 minor
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-20 10:48 UTC by Matthias Ferdinand
Modified: 2021-04-12 12:26 UTC (History)
1 user (show)



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Ferdinand 2007-02-20 10:48:23 UTC
t/spamc_l.t expects a network connection to 127.0.0.1:8 to fail and checks for
the resulting system message ("Connection refused").
If running under a non-english locale, this message may be translated, the test
fails, and installation of Mail::SpamAssassin using CPAN fails.

Patch is trivial: add 
  $ENV{"LANG"}="C";
in t/spamc_l.t to make sure system messages are returned as expected.
Comment 1 Henrik Krohns 2021-04-12 12:26:25 UTC
Not a problem with current version.