SA Bugzilla – Bug 5339
t/spamc_l.t fails under non-english locale
Last modified: 2021-04-12 12:26:25 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.
Not a problem with current version.