Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Mail-Sender CPAN distribution.

Report information
The Basics
Id: 114692
Status: resolved
Priority: 0/
Queue: Mail-Sender

People
Owner: cwhitener [...] gmail.com
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.900002-TRIAL



Subject: Tests fail on systems with non-English locale (Mail-Sender-0.900-TRIAL)
With German locale I see: ... # Failed test '_CONNFAILED: proper string' # at t/00-load.t line 90. # got: 'connect() failed: Eingabe-/Ausgabefehler' # expected: 'connect() failed: Input/output error' # Failed test '_FILECANTREAD: proper string' # at t/00-load.t line 240. # got: 'File "" cannot be read: Datei oder Verzeichnis nicht gefunden' # expected: 'File "" cannot be read: No such file or directory' # Failed test '_FILECANTREAD: proper string' # at t/00-load.t line 245. # got: 'File "crappola" cannot be read: Datei oder Verzeichnis nicht gefunden' # expected: 'File "crappola" cannot be read: No such file or directory' # Looks like you failed 3 tests of 113. t/00-load.t ............ Dubious, test returned 3 (wstat 768, 0x300) Failed 3/113 subtests ...
On 2016-05-25 03:14:43, SREZIC wrote: Show quoted text
> With German locale I see: > > ... > # Failed test '_CONNFAILED: proper string' > # at t/00-load.t line 90. > # got: 'connect() failed: Eingabe-/Ausgabefehler' > # expected: 'connect() failed: Input/output error' > > # Failed test '_FILECANTREAD: proper string' > # at t/00-load.t line 240. > # got: 'File "" cannot be read: Datei oder Verzeichnis nicht > gefunden' > # expected: 'File "" cannot be read: No such file or directory' > > # Failed test '_FILECANTREAD: proper string' > # at t/00-load.t line 245. > # got: 'File "crappola" cannot be read: Datei oder > Verzeichnis nicht gefunden' > # expected: 'File "crappola" cannot be read: No such file or > directory' > # Looks like you failed 3 tests of 113. > t/00-load.t ............ > Dubious, test returned 3 (wstat 768, 0x300) > Failed 3/113 subtests > ...
Additional condition: perl <= 5.20.3. perl 5.22 and later makes sure that errno messages are only localized if running under "use locale".
Hi Slaven! Thanks for the bug report. I'll get this corrected this evening. Thanks, Chase
Thanks for the bug report! It has been fixed. Thanks, Chase