Skip Menu |

This queue is for tickets about the Log-Reproducible CPAN distribution.

Report information
The Basics
Id: 111422
Status: resolved
Priority: 0/
Queue: Log-Reproducible

People
Owner: COVINGTON [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: v0.12.2
Fixed in: v0.12.3



Subject: 'at time on date' fails with non-English locale
With a non-English locale (e.g. LC_ALL=de_DE.UTF-8) the test suite fails: # Failed test 'Test 'at time on date'' # at t/reproducible.t line 67. # 'at 10:25:39 on Mo Jan 25, 2016' # doesn't match '(?^:at [0-2][0-9]:[0-6][0-9]:[0-6][0-9] on \w{3} \w{3} [0-3][0-9], 2\d{3})' # Looks like you failed 1 test of 4. # Failed test 'Time tests' # at t/reproducible.t line 79. # Looks like you failed 1 test of 8. t/reproducible.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/8 subtests Probably it's best to make sure that an English locale is used, i.e. by setting the LC_ALL environment variable to 'C'.
Thanks again for the tip! Should pass now in v0.12.3. On Mon Jan 25 14:39:15 2016, SREZIC wrote: Show quoted text
> With a non-English locale (e.g. LC_ALL=de_DE.UTF-8) the test suite > fails: > > # Failed test 'Test 'at time on date'' > # at t/reproducible.t line 67. > # 'at 10:25:39 on Mo Jan 25, 2016' > # doesn't match '(?^:at [0-2][0-9]:[0-6][0-9]:[0-6][0-9] on \w{3} > \w{3} [0-3][0-9], 2\d{3})' > # Looks like you failed 1 test of 4. > > # Failed test 'Time tests' > # at t/reproducible.t line 79. > # Looks like you failed 1 test of 8. > t/reproducible.t .. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/8 subtests > > > Probably it's best to make sure that an English locale is used, i.e. > by setting the LC_ALL environment variable to 'C'.