Skip Menu |

This queue is for tickets about the Data-RecordStore CPAN distribution.

Report information
The Basics
Id: 127709
Status: resolved
Priority: 0/
Queue: Data-RecordStore

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Tests fail with non-English locale
With German locale (LC_ALL=de_DE.UTF-8) (and probably with older perls, approximately < 5.22) the test suite fails: ... # Failed test 'could not write to unwritable directory' # at t/recordstore.t line 131. # 'Zugriff verweigert at /usr/home/eserte/.cpan/build/2018111807/Data-RecordStore-4-2/blib/lib/Data/RecordStore.pm line 73. # at t/recordstore.t line 13. # main::__ANON__("Zugriff verweigert at /usr/home/eserte/.cpan/build/2018111807"...) called at /usr/home/eserte/.cpan/build/2018111807/Data-RecordStore-4-2/blib/lib/Data/RecordStore.pm line 73 # Data::RecordStore::open_store("/var/tmp/cpansmoker-1023/2018111807/JU_Pu2Exjc") called at t/recordstore.t line 128 # eval {...} called at t/recordstore.t line 127 # main::test_open() called at t/recordstore.t line 23 # ' # doesn't match '(?^:Permission denied)' ...
Using error code values for comparison rather than test strings. The errors generated by Data::RecordStore at this point only have english versions, so a future task is to internationalize those or use errno or something.