Subject: | t/recordstore.t + t/store.t may fail with non-English locale |
On a freebsd with a German locale:
...
# Failed test 'err msg for trans with unwrite dir'
# at t/recordstore.t line 503.
# 'Zugriff verweigert at /home/cpansand/.cpan/build/2019121900/Data-RecordStore-6.02-0/blib/lib/Data/RecordStore/Transaction.pm line 55.
# at t/recordstore.t line 22.
# main::__ANON__("Zugriff verweigert at /home/cpansand/.cpan/build/2019121900/D"...) called at /home/cpansand/.cpan/build/2019121900/Data-RecordStore-6.02-0/blib/lib/Data/RecordStore/Transaction.pm line 55
# Data::RecordStore::Transaction::create("Data::RecordStore::Transaction", Data::RecordStore=ARRAY(0x44c70f00), "/var/tmp/cpansmoker-1023/2019121808/ORDNWfeKy5/transactions/1", 1) called at /home/cpansand/.cpan/build/2019121900/Data-RecordStore-6.02-0/blib/lib/Data/RecordStore.pm line 429
# Data::RecordStore::use_transaction(Data::RecordStore=ARRAY(0x44c70f00)) called at t/recordstore.t line 500
# eval {...} called at t/recordstore.t line 499
# main::test_transactions() called at t/recordstore.t line 32
# '
# doesn't match '(?^i:permission denied)'
Data::RecordStore::Silo->put_record : index 11 out of bounds for silo /var/tmp/cpansmoker-1023/2019121808/wL_9_yyD7b/data_silos/27. Store has entry count of 10 at /home/cpansand/.cpan/build/2019121900/Data-RecordStore-6.02-0/blib/lib/Data/RecordStore/Silo.pm line 167.
at t/recordstore.t line 22.
main::__ANON__("Data::RecordStore::Silo->put_record : index 11 out of bounds "...) called at /home/cpansand/.cpan/build/2019121900/Data-RecordStore-6.02-0/blib/lib/Data/RecordStore/Silo.pm line 167
Data::RecordStore::Silo::put_record(Data::RecordStore::Silo=ARRAY(0x44c2ed50), 11, ARRAY(0x44c7f4c8)) called at /home/cpansand/.cpan/build/2019121900/Data-RecordStore-6.02-0/blib/lib/Data/RecordStore/Silo.pm line 229
Data::RecordStore::Silo::push(Data::RecordStore::Silo=ARRAY(0x44c2ed50), ARRAY(0x44c7f4c8)) called at /home/cpansand/.cpan/build/2019121900/Data-RecordStore-6.02-0/blib/lib/Data/RecordStore.pm line 319
Data::RecordStore::stow(Data::RecordStore=ARRAY(0x44c6c120), "BIIIIIGBIIIIIGBIIIIIGBIIIIIGBIIIIIGBIIIIIGBIIIIIGBIIIIIGBIIII"...) called at t/recordstore.t line 794
main::test_big() called at t/recordstore.t line 34
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 28 just after 85.
t/recordstore.t ..
Dubious, test returned 28 (wstat 7168, 0x1c00)
Failed 1/85 subtests
# Failed test 'was able to init a silo in an unwritable directory error'
# at t/silo.t line 38.
# 'Zugriff verweigert at /home/cpansand/.cpan/build/2019121900/Data-RecordStore-6.02-0/blib/lib/Data/RecordStore/Silo.pm line 74.
# '
# doesn't match '(?^:Permission denied)'
# Failed test 'error msg for readonly file'
# at t/silo.t line 213.
# '/var/tmp/cpansmoker-1023/2019121808/n_phBnKHnb/3 : Zugriff verweigert at /home/cpansand/.cpan/build/2019121900/Data-RecordStore-6.02-0/blib/lib/Data/RecordStore/Silo.pm line 396.
# '
# doesn't match '(?^:Unable to open|Permission denied)'
# Looks like you failed 2 tests of 103.
t/silo.t .........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/103 subtests
...